
	MOV P0,#0FFH	 ;port0 as input				
	MOV A,P0         ;get data from other microcontroller
	CJNE A,#01EH,ERR ;condition check
	MOV P0,#00H      ;port0 as output
	MOV DPTR,#DATMEL ;message to be displayed
	CALL LCD_STRING  ;routine working nicely with other mseg
	
