SHLD


Syntax: SHLD 16-bit
Where 16-bit is for memory location.
Byte: 3byte
Addressing Mode: Direct Addressing
Working: 1. for execution of this instruction, microprocessor will allocate first byte for opcode, second byte for lower order address and third byte for higher order.
2. During execution, microprocessor will write in to two consecutive memory locations. (i.e.specified by the oprand and a location next to the specified one.)
3. The content of lower order Register of the pair (Rlp) will be moved to specified memory location.
4. The content of Higher Order Register of the pair (Rhp) will be moved to next consecutive memory location.
Example: SHLD  B000H 
where [L] = 11 H
            [H] = 22H

After execution of SHLD B000H
[B000H]= 11H & [B001H] = 22H




Comments

Popular posts from this blog

SBB