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:11
Read: times


 
#61846 - RE: Fastest 16bit INC/DEC
Responding to: ???'s previous message
In fact I don't use DPTR thorough most of the program, so I could just (ab)use it for this very purpose and nothing else, so no reloading. Unfortunately I need two such counters and there's only one DPTR, plus there's no DEC DPTR.

In fact I use it only once for a bogus purpose of converting a program label into two bytes I can save. BTW, any wiser method to do:

mov DPTR,#RETURN
mov R_LO,DPL
mov R_HI,DPH
(...)
RETURN:

?


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