??? 01/13/08 12:11 Read: times |
#149400 - NO! Responding to: ???'s previous message |
Andy Neil said:
Chico Magalhães said:
You mean "A" value will be always equal "ACC" value ? Yes - they just represent different ways of getting to the same end! Sorry, Andy, but this is misleading - and exactly in the way people are confused by A vs. ACC. The best way to view A is, to accept it as a part of the mnemonics. I.e., take it as there is no MOV x,y where you can replace x or y for A, but that there are MOV A,y and MOV x,A and that these instruction happen to work on a special function register (SFR) at address 0E0h. This register can be accessed by any direct access instruction exactly as other SFRs can be - for example, you can do PUSH 0E0h - but there is a convenient name predefined in almost all assemblers for this SFR, and that name is ACC. A similarly confusing concept in '51 are the registers - R0, R1, etc. - which again are best viewed as part of the mnemonics, rather than register names. JW |