??? 01/06/06 00:32 Read: times |
#106661 - Yours is more precise! Responding to: ???'s previous message |
Kevin Timm said:
MOV R1, #22H ; set R1 to point at DATA address 22HNow I'm truly a noob here, but doesn't this actually mean: set R1 to the value 22H (0x22H)? You are right - looking at this instruction in isolation, that is precisely what it's doing! Similarly, MOV A, @R1 ; read the value at DATA ; address 22Htaken in isolation is incorrect - it should say, "read the value at the DATA address given by R1" It would probably have been more helpful if the author had commented the two lines together, rather than individually - as they only have the meaning given in his comments when they are taken together! |
Topic | Author | Date |
decision | 01/01/70 00:00 | |
well | 01/01/70 00:00 | |
processor | 01/01/70 00:00 | |
I'd use a SILabs f0xx, f1xx or f2xx | 01/01/70 00:00 | |
decisions... | 01/01/70 00:00 | |
I'm a BASCOM user | 01/01/70 00:00 | |
do what I say but not what I do | 01/01/70 00:00 | |
c for 8052 | 01/01/70 00:00 | |
I would suggest | 01/01/70 00:00 | |
80c51 C and Asm | 01/01/70 00:00 | |
Code space | 01/01/70 00:00 | |
C Programming links | 01/01/70 00:00 | |
query about the_final_word | 01/01/70 00:00 | |
both the document and you are right: mor | 01/01/70 00:00 | |
so it's my noob showing | 01/01/70 00:00 | |
Yours is more precise!![]() | 01/01/70 00:00 | |
Take a look at this | 01/01/70 00:00 | |
good link | 01/01/70 00:00 |