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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/15/01 04:34
Read: times


 
#13221 - RE: The Technique In Comparing Two Register
I've investigated 8051 instruction manual.
the instruction
CJNE A,<DIR>,RELATIVE
can be use,isn't it?

Then it would be more shorter if you do like this.

mov a,rn
cjne a,rn+1,relative
<rn=rn+1>
.......
relative: <rn < > rn+1>

Best Regards

List of 8 messages in thread
TopicAuthorDate
The Technique In Comparing Two Register            01/01/70 00:00      
RE: The Technique In Comparing Two Register            01/01/70 00:00      
RE: The Technique In Comparing Two Register            01/01/70 00:00      
RE: The Technique In Comparing Two Register            01/01/70 00:00      
RE: The Technique In Comparing Two Register            01/01/70 00:00      
RE: The Technique In Comparing Two Register            01/01/70 00:00      
RE: The Technique In Comparing Two Register            01/01/70 00:00      
RE: Reply to bordyn cheevatanakonkul            01/01/70 00:00      

Back to Subject List