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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/19/03 17:02
Read: times


 
#59036 - RE: How to implement 6805 bmi instruction?
Responding to: ???'s previous message
How 'bout the following?

Motorola..............8051
-----------------------------------
cmp #05...............clr CY
......................subb #05
bcs label.............jb CY, label



sub #05...............clr CY
......................subb #05


Am I doing this right or is there a better way? cmp is (A - operand, but without changing A)

TIA
Andy


List of 16 messages in thread
TopicAuthorDate
How to implement 6805 bmi instruction?            01/01/70 00:00      
   RE: How to implement 6805 bmi instruction?            01/01/70 00:00      
      RE: How to implement 6805 bmi instruction?            01/01/70 00:00      
   RE: How to implement 6805 bmi instruction?            01/01/70 00:00      
      RE: How to implement 6805 bmi instructio            01/01/70 00:00      
         RE: How to implement 6805 bmi instructio            01/01/70 00:00      
            RE: How to implement 6805 bmi instructio            01/01/70 00:00      
               RE: How to implement 6805 bmi instructio            01/01/70 00:00      
                  RE: How to implement 6805 bmi instructio            01/01/70 00:00      
                  RE: How to implement 6805 bmi instructio            01/01/70 00:00      
   RE: How to implement 6805 bmi instruction?            01/01/70 00:00      
      RE: New Button !            01/01/70 00:00      
         RE: New Button !            01/01/70 00:00      
      RE: How to implement 6805 bmi instruction?            01/01/70 00:00      
      Blindingly obvious!?            01/01/70 00:00      
         RE: Blindingly obvious!?            01/01/70 00:00      

Back to Subject List