??? 03/07/07 15:15 Read: times |
#134487 - The Right one here goes Responding to: ???'s previous message |
Well sir Andy its here with some changing.... means in Lower.
SERIAL: JNB RB8,GET_DATA ;Jump if RB8=0 means data MOV B,SBUF ;Move the copy to Accumulator CJNE B,#001H,GO_ON ;Compare the Address if its equal to 001H then CLR SM2 ;Clear the SM2 to get the data GO_ON: RETI ;Return back from ISR GET_DATA: MOV A,SBUF ;Get the copy to Accumulator CLR SM2 ;Clear the SM2 for agian for the Address RETI ;Return back |