beautypg.com

Ldctl load from control register (word) – Zilog Z80380 User Manual

Page 128

background image

5-94

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

LDCTL
LOAD FROM CONTROL REGISTER (WORD)

LDCTL dst,src

dst = HL
src = SR

Operation:

if (LW) then begin

dst(31-0)

src(31-0)

end

else begin

dst(15-0)

src(15-0)

end

The contents of the Select Register (SR) are loaded into the HL register.

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 HL,SR

11101101 11000000

2

L