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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
10/31/06 19:12
Read: times


 
#127186 - How to push R* registers?
This one is easy. I want to push my r0 register but all the following are errors:

push r0
push #r0
push @r0

What am I failing to understand here? I know I can push the accumulator.

Must I do this:
mov a, r0
push acc
;do stuff with r0
pop acc
mov r0, a

if I want to save/restore r0?

Seems strange to me.

Eri




List of 5 messages in thread
TopicAuthorDate
How to push R* registers?            01/01/70 00:00      
   push AR0            01/01/70 00:00      
      Look Here            01/01/70 00:00      
      Register Bank            01/01/70 00:00      
         oh, well            01/01/70 00:00      

Back to Subject List