#include<stc15.h>         
#include<intrins.h>         
#include<gpio.h>              
#define uint unsigned int      
#define uchar unsigned char     
#define  x  P1 
#define  y  P3 
#define  outh  P2 
#define  outl  P0             
uint data z;
uchar code C=2;            
void main(void)		
{					
	gpio(); 
	x=0xff;                 
	y=0xff;               
	while(1)				
	{				
		z=(x+y)*C;
		outl=z;
		outh=z>>8;	         
	}				
}	
