DISPLAY:
 	CLR P1.0	; GPS Enabled
	WAIT_GPS:JNB RI, WAIT_GPS  ; wait till byte received
		MOV A,SBUF
		ACALL DISP_CHAR	  ; this displays the byte on LCD
		CLR RI
	CHK_RTS:JNB RTS,CPU_IN	; after each byte is displayed           ;RTS pin is checked.
	; If found LOW(active low?)it jumps to display 16 bytes.
		SJMP DISPLAY
	CPU_IN:
		SETB P1.0; Enable  CPU  buffer control AND CTS
		ACALL CLR_LCD  ; clears the LCD display
		MOV R0,#0FH	 ; Count to display 16 characters
		
	WAIT_CPU:JNB RI, WAIT_CPU  ; Wat for Byte
		MOV A, SBUF
		ACALL DISP_CHAR	   ; Diplay on LCD
		CLR RI
		DJNZ R0,WAIT_CPU  ; Loop till 16 Charcters displayed
		SJMP DISPLAY	 ; If 16 characters displayed start all over