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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/22/02 08:57
Read: times


 
#32926 - RE: \
Jonathon Marcos wrote:
-------------------------------
"So, if such an instruction exists in the 8052, what is it?"

There aren't any instructions like this (as far as I know). I usually use

mov a,number1
subb a,number2
jc ...

If the carry flag is set, number2 is bigger than number1. You can also use jnc vice versa.


List of 5 messages in thread
TopicAuthorDate
"jump if greater" instruction??            01/01/70 00:00      
RE: \            01/01/70 00:00      
RE: \\            01/01/70 00:00      
RE: \\            01/01/70 00:00      
RE: "jump if greater" instruction??            01/01/70 00:00      

Back to Subject List