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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/19/00 05:26
Read: times


 
#3842 - RE: B Register, how to enter value?
Yes, All SFR are basically internal RAM, located at address 80 and above. You can access any of SFR via direct addressing, means you can write the code as

MOV B,A ; copy contents of A into B

You can also manipulate the same instruction as

MOV (address of B),(address of A)

You can not use

MOV R0,(Address of B)
MOV @R0,A

Because indirect addressing above 7Fh for internal ram, is reserved for 8052, internal ram locations, above 128bytes.

This is because internal RAM address between 80h to FFh has parallel address of SFRs.

Rauf

List of 11 messages in thread
TopicAuthorDate
B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      
RE: B Register, how to enter value?            01/01/70 00:00      

Back to Subject List