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 05:12
Read: times


 
#13222 - RE: The Technique In Comparing Two Register
bordyn cheevatanakonkul:

No!
cjne a, Rn, relative;register addressing
is not found in my Intel manual.

Then I test with the below source file.
---------------------------------------
org 0000H
mov r0, #1
mov r1, #2
mov a, r0
cjne a, r1, loop
;error for register addressing

;cjne a,p1,loop
;no error for direct addressing

loop: sjmp loop
end
---------------------------------------

If you try to assemble it using asm51, syntax error report on the line
"cjne a, r1, loop"

So, the method that you suggest will failed. Tell me if you have any better suggestion.

thanks

regards
yccheok



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