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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/04/06 22:39
Read: times


 
Msg Score: 0
 -1 Looks like homework
 +1 Underrated
#127376 - compare registers
hello everybody,

i want to write in asm language compare condition block.
for example, A and B registers loaded different value.

IF A>B =MOV P1, #00h
IF A<B =MOV P1, #0FFh or ELSE MOV P1, #0FFh

can we write this statement in 8051 asm language?(we must use these(if, else, endif)

thank you for your replies.







List of 12 messages in thread
TopicAuthorDate
compare registers            01/01/70 00:00      
   Bible            01/01/70 00:00      
      Andy, please, don't mislead him            01/01/70 00:00      
   this is not my homework !!!            01/01/70 00:00      
      directives are to control the behaviour...            01/01/70 00:00      
   8051 Instructions            01/01/70 00:00      
      nobody mentioned CJNE            01/01/70 00:00      
         Skinnin' cats            01/01/70 00:00      
            miaaaaauuuuuuuuuuw            01/01/70 00:00      
            does 0730 mean \"late late night\" ? :-)            01/01/70 00:00      
               Probably            01/01/70 00:00      
                  a better assembler will handle that            01/01/70 00:00      

Back to Subject List