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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/03/03 12:04
Read: times


 
#57722 - RE: Comparing Registers
Responding to: ???'s previous message
Hi,
Here is the example which keeps Acc and compares R5 with value of Port 2 quickly:
	XCH	A,R5
	CJNE	A,P2,LABEL_EXIT
	XCH	A,R5
; continue execution ...
	RET

LABEL_EXIT:
	XCH	A,R5		; <- if needs
	RET

Good days!

List of 7 messages in thread
TopicAuthorDate
Comparing Registers            01/01/70 00:00      
   RE: Comparing Registers            01/01/70 00:00      
      RE: Comparing Registers            01/01/70 00:00      
         RE: Comparing Registers            01/01/70 00:00      
            help            01/01/70 00:00      
               RE: help            01/01/70 00:00      
   RE: Comparing Registers            01/01/70 00:00      

Back to Subject List