Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/03/04 17:04
Read: times


 
#61850 - Sbuf value "refresh"?
After serial interrupt: "mov 20h,sbuf", I need to receive new data from the serial port. Can I read the new data from the SBUF before I RETI?
;-------------------------------------
org 0023h
jmp serial
...
...
serial: mov 20h,sbuf
jnb 20h.0,there
reti

there: mov 20h,sbuf
;--------------------------------------
;Could I get the new sbuf value above?
;--------------------------------------
jnb 20h.0,there
jmp here
reti

here: .......
reti
;--------------------------------------
Hold after 20h.0 change to "1". The sensor flag 20h.0 change to "1" and send to the S52 by serial port.

Stanley

List of 12 messages in thread
TopicAuthorDate
Sbuf value "refresh"?            01/01/70 00:00      
   RE: Sbuf value "refresh"?            01/01/70 00:00      
   RE: Sbuf value \\            01/01/70 00:00      
      RE: Sbuf value            01/01/70 00:00      
         RE: Sbuf value            01/01/70 00:00      
   RE: Sbuf value \\\\\\\\            01/01/70 00:00      
      ***Details***            01/01/70 00:00      
         RE: ***Details***            01/01/70 00:00      
   RE: Sbuf value "refresh"?            01/01/70 00:00      
      RE: Sbuf value \            01/01/70 00:00      
         RE: Sbuf value \            01/01/70 00:00      
         Silly problem solved...            01/01/70 00:00      

Back to Subject List