??? 03/11/05 17:00 Read: times |
#89486 - Here we go again Responding to: ???'s previous message |
;Serial interrupt routine
SERIAL_INT: push acc push psw push 07h INT_SERIAL: jnb ri,CHECK_TI ;If the RI flag is not set, we jump to check TI mov a,sbuf ;If we got to this line, it is because the RI bit *was* set clr ri ;Clear jmp EXIT_INT CHECK_TI: jnb ti,EXIT_INT ;If the TI flag is not set, we jump to the exit point clr ti ;Clear the TI bit before we send another character inc r1 mov a,@r1 ;r1 stores the address of ascill number mov sbuf,a inc r0 ret That still isn't your real code. Post your real code. Until then, no help. |
Topic | Author | Date |
About Serial Communication!!!!!Help | 01/01/70 00:00 | |
insufficient | 01/01/70 00:00 | |
Sorry, the crystal is 11.0592MHz | 01/01/70 00:00 | |
It's a miracle | 01/01/70 00:00 | |
amazing | 01/01/70 00:00 | |
Sorry, since the program is very large.. | 01/01/70 00:00 | |
Large program | 01/01/70 00:00 | |
Result | 01/01/70 00:00 | |
do you believe | 01/01/70 00:00 | |
MAX232C | 01/01/70 00:00 | |
19200??? | 01/01/70 00:00 | |
PCON vs 6 clock | 01/01/70 00:00 | |
P89C51RD2 6 clocks per machine cycle | 01/01/70 00:00 | |
DESCRIPTION | 01/01/70 00:00 | |
Here we go again | 01/01/70 00:00 | |
Re:amazing![]() | 01/01/70 00:00 | |
H or not | 01/01/70 00:00 | |
The chip is P89C51RD2 | 01/01/70 00:00 | |
insufficient | 01/01/70 00:00 | |
I am not sure about that... | 01/01/70 00:00 | |
the 'H' is important | 01/01/70 00:00 | |
is P89C51RD2HBP | 01/01/70 00:00 | |
Solved | 01/01/70 00:00 | |
0xFF ??? | 01/01/70 00:00 |