| ??? 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 |
| Topic | Author | Date |
| 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 |



