LHLD
Syntax: LHLD 16-bit
Where 16-bit is for memory location.
Byte: 3byte
Addressing Mode: Direct Addressing
Working: for execution of this instruction, microprocessor will allocate first byte for opcode, second byte for lower order address and third byte for higher order.
During execution, microprocessor will access to consecutive locations specified by the oprand and a location next to the specified one. I.e. tow consecutive locations.
The content of first memory location will be moved to lower order Register of the pair. (Rlp)
The content of next consecutive memory location will be moved to Higher Order Register of the pair. (Rhp).
Example: LHLD A000H
where [A000H] = 11 H
[A001H] = 22H
After execution of LHLD A000H
[L]= 11H & [H] = 22H
Comments
Post a Comment