Question

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 ?

Was it helpful?

Solution

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.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top