Make your own free website on Tripod.com

LD (HL),n

Load immediate data n into the indirectly addressed memory location (HL).
Function: (HL) <- n
 
Format:
0011 0110
 
byte 1: 36
 
nnnn nnnn
 
byte 2: immediate data
 
Description: The contents of the memory location immediately following the opcode are loaded into the memory location indirectly addressed by the HL dat pointer.
 
Data Flow:
 
Timing: 3 M cycles; 10 T states: 5 usec @ 2 MHz
 
Addressing Mode: immediate/indirect
 
Byte Codes:
 
Flags:
 
(no effect)
 
Example:

OBJECT CODE
Before:
 
After: