5-95
Z380
™
U
SER
'
S
M
ANUAL
Z
ILOG
DC-8297-03
LDCTL
LOAD INTO CONTROL REGISTER (WORD)
LDCTL dst,src
dst = SR
src = HL
Operation:
if (LW) then begin
dst(31-16)
←
HL(31-16)
end
else begin
dst(31-24)
←
HL(15-8)
dst(23-16)
←
HL(15-8)
end
dst(15-8)
←
HL(15-8)
dst(0)
←
HL(0)
The contents of the HL register are loaded into the Select Register (SR). If Long Word mode
is not in effect the upper byte of the HL register is copied into the three most significant bytes
of the select register. This instruction does not modify the mode bits in the SR. There are
dedicated instructions to modify the mode bits.
Flags:
S:
Unaffected
Z:
Unaffected
H:
Unaffected
V:
Unaffected
N:
Unaffected
C:
Unaffected
Load from Control Register
Addressing
Execute
Mode
Syntax
Instruction Format
Time
Note
R:
LDCTL SR,HL
11101101 11001000
4
L