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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
05/14/01 21:18
Read: times


 
#11577 - RE: Auxi. carry + timer question (8051)
The following code *does* set the Auxilary Carry (AC):

MOV A,#10h
SUBB A,#08h

After executing the SUBB instruction, AC should be set. If JSIM doesn't set the AC bit with the above code, that'd be a bug in JSIM.

If Timer 1 (TH1/TL1) is in mode 3 (split timer), it stops. In any other mode, it counts normally--but it will no longer provoke interrupts or set the TF1 overflow bit. You can use it to establish baud rate, however.

Craig Steiner


List of 4 messages in thread
TopicAuthorDate
Auxi. carry + timer question (8051)            01/01/70 00:00      
RE: Auxi. carry + timer question (8051)            01/01/70 00:00      
RE: Auxi. carry + timer question (8051)            01/01/70 00:00      
RE: Auxi. carry + timer question (8051)            01/01/70 00:00      

Back to Subject List