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

Back to Subject List

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


 
#61848 - RE: Fastest 16bit INC/DEC
Responding to: ???'s previous message
oops,
sorry, you have not mentioned such purpose of the counter before. Why you translate return address with DPTR while it is static (constant) number and may be produced with compiler/linker? Just use:
; for Keil:
mov R_LO,#LOW(RETURN) 
mov R_HI,#HIGH(RETURN)
; or, at general:
mov R_LO,#(RETURN-(256*(RETURN/256)))
mov R_HI,#(RETURN/256)
cu

List of 10 messages in thread
TopicAuthorDate
Fastest 16bit INC/DEC            01/01/70 00:00      
   RE: Fastest 16bit INC/DEC            01/01/70 00:00      
      RE: Fastest 16bit INC/DEC            01/01/70 00:00      
         RE: Fastest 16bit INC/DEC            01/01/70 00:00      
            RE: Fastest 16bit INC/DEC            01/01/70 00:00      
               RE: Fastest 16bit INC/DEC            01/01/70 00:00      
                  RE: Fastest 16bit INC/DEC            01/01/70 00:00      
                     RE: Fastest 16bit INC/DEC            01/01/70 00:00      
                        RE: Fastest 16bit INC/DEC            01/01/70 00:00      
   RE: Fastest 16bit INC/DEC            01/01/70 00:00      

Back to Subject List