LDA : Inserting 16 bit in 8 bit register ? What does it mean?
-
27-04-2021 - |
Frage
I have read that in 8085 the accumulator is a 8 bit register. Then how come the following instruction be true :
LDA address
where address is a "16-bit" address in L-H order
How can we insert a 16 bit address in a 8 bit register ?
Lösung
You don't insert a 16 bit address in a 8 bit register, but the byte contained at the memory address where the 16 bit points. If the byte 30 is stored at @1234, LDA 1234 sets A to 30.
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow