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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
11/15/05 01:16
Read: times


 
#103730 - careful
Responding to: ???'s previous message
The register banks are actually RAM. If you use other banks you must move the stack pointer past the last bank used.
To switch register banks, set the bank control bits to the bank you want.

You can use internal RAM without using the register banks. The first 128 bytes are directly addressable. The Top 128 bytes must be done via pointer.

BTW

What assembler are you using.

List of 11 messages in thread
TopicAuthorDate
Stack pointer causing code to loop?            01/01/70 00:00      
   Try using a simulator            01/01/70 00:00      
      declaring variables            01/01/70 00:00      
         careful            01/01/70 00:00      
   push and pull            01/01/70 00:00      
      Correct            01/01/70 00:00      
         ah.. so if I change...            01/01/70 00:00      
            Uh, no            01/01/70 00:00      
               in same sub            01/01/70 00:00      
                  Try a Ring Buffer            01/01/70 00:00      
   code changed so push/pops in same sub            01/01/70 00:00      

Back to Subject List