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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/26/02 07:02
Read: times


 
#31435 - RE: COMPARE RESGISTER
Adding to previous post....
There are some advantages to the sequence
of...
  MOV  A, R4
  CLR  C
  SUBB A, R5




..because you can follow it with any one
of the following jump styles to test
for the comditions like I show to the
right...
  JNZ  SomePlace     ; jump for R4 != R5
 or
  JZ   SomePlace     ; jump for R4 == R5
 or
  JC   SomePlace     ; jump for R4 < R5
 or 
  JNC  SomePlace     ; jump for R4 >= R5




Hope this helps
Mike Karas


List of 14 messages in thread
TopicAuthorDate
COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER Charles            01/01/70 00:00      
RE: COMPARE RESGISTER            01/01/70 00:00      
RE: COMPARE RESGISTER Charles            01/01/70 00:00      
RE: COMPARE RESGISTER - correction            01/01/70 00:00      
RE: COMPARE RESGISTER - correction            01/01/70 00:00      

Back to Subject List