| ??? 02/11/02 10:21 Read: times |
#19653 - Understanding Serial Interrupt code |
Hi,
I was hoping someone could give me a hand to understand what the following section of code does, this section is only called if RI was set (if TI was set it clears then RETI's). I understand most of it, it's just the parts indicated by *'s that I'm not sure about: L0032 PUSH ACC PUSH PSW MOV PSW,#018H MOV R1,SBUF CLR RI MOV A,@R1 JNB RB8,L0052 MOV R0,#00FH MOVX A,@R0 ADD A,#0FCH MOVX A,@R1 JC L0052 CLR EA ;* INC P2 ;* MOVX A,@R1 ;* DEC P2 ;* SETB EA ;* ; L0052 MOV SBUF,A POP PSW POP ACC ; L0058 RETI Cheers, George |
| Topic | Author | Date |
| Understanding Serial Interrupt code | 01/01/70 00:00 | |
| RE: Understanding Serial Interrupt code | 01/01/70 00:00 | |
| RE: Understanding Serial Interrupt code | 01/01/70 00:00 | |
| RE: Understanding Serial Interrupt code | 01/01/70 00:00 | |
| RE: Understanding Serial Interrupt code | 01/01/70 00:00 | |
email addy | 01/01/70 00:00 |



