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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
08/21/02 20:46
Read: times


 
#27663 - RE: declaring variables and registers
I'm having a little bit of problems understanding this, but see if I've got it :

If I wanted to place the contents of the accumulator in R0 from bank 1, could I

MOV 08H, A
?

If this is true, 09H would be R1 in bank1,
and so on? (1Fh would be R7 on bank3?)

And I could still simply address R0-R7 on
bank 0 by using :

MOV R0, A

Do I got it? :-)

(This is assuming each address location is 8 bits, which you know what happens when you assume...)

List of 19 messages in thread
TopicAuthorDate
declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      
RE: declaring variables and registers            01/01/70 00:00      

Back to Subject List