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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/23/04 12:22
Read: times


 
#78003 - RE: Modifying the program counter
Responding to: ???'s previous message
add a,low(base_addr) ;Calculate low order address
push acc ;put it on the stack
clr a
addc a,high(base_addr) ;Calculate high order address
push acc ;Both bytes on the stack now
ret ;Pop them and put them in the PC


Again the # is missing

Erik

List of 14 messages in thread
TopicAuthorDate
Modifying the program counter            01/01/70 00:00      
   RE: Modifying the program counter            01/01/70 00:00      
      RE: Modifying the program counter            01/01/70 00:00      
         RE: Modifying the program counter            01/01/70 00:00      
            RE: Modifying the program counter            01/01/70 00:00      
   RE: Modifying the program counter            01/01/70 00:00      
      RE: Modifying the program counter            01/01/70 00:00      
         RE: Modifying the program counter            01/01/70 00:00      
   RE: Modifying the program counter            01/01/70 00:00      
      RE: Modifying the program counter            01/01/70 00:00      
         RE: Modifying the program counter            01/01/70 00:00      
   RE: Modifying the program counter            01/01/70 00:00      
      RE: Modifying the program counter            01/01/70 00:00      
      RE: Modifying the program counter            01/01/70 00:00      

Back to Subject List