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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/28/03 19:44
Read: times


 
#51612 - A question about the command SUBB
I have a small problem: (using 8031)

MOV A, #08H
MOV R1, #03H
SUBB A, R1

Eventually it should be: A=05H (8-3=5). According to the emulator (win 8051 IDE) it is A=04H.

Is it the emulator fault or it's the program fault?

Thanks

List of 6 messages in thread
TopicAuthorDate
A question about the command SUBB            01/01/70 00:00      
   RE: A question about the command SUBB            01/01/70 00:00      
   RE: A question about the command SUBB            01/01/70 00:00      
   RE: A question about the command SUBB            01/01/70 00:00      
      PROBLEM SOLVED + QUESTION :)            01/01/70 00:00      
         RE: PROBLEM SOLVED + QUESTION :)            01/01/70 00:00      

Back to Subject List