Demo entry 6350099

1.3

   

Submitted by anonymous on Mar 05, 2017 at 19:09
Language: C. Code size: 340 Bytes.

1.3.1
#include <reg51.h>  
int a,b,c,d;
a=*0x50;
b=*0x51;
c=*0x52;
d=*0x53;

void main() {   
	int z=a+b;
	*0x54=z;
	z=c+d;
	*0x55=z;
}  



1.3.2
#include <reg51.h>  
int a,b,c,d;
a=*0x50;
b=*0x51;
c=*0x52;
d=*0x53;

void main(){
	int x,y,z,j;
	x=a*c;
	y=a*d+b*c;
	z=b*d;
	j=(x*0xff+y)*0xff+z;
	*0x58=j;
}

This snippet took 0.01 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).