Ld load immediate (word) – Zilog Z80380 User Manual

Page 118

Advertising
background image

5-84

Z380

U

SER

'

S

M

ANUAL

DC-8297-03

Z

ILOG

LD
LOAD IMMEDIATE (WORD)

LD dst,nn

dst = R, RX

Operation:

if (LW) then begin

dst(31-0)

nn

end

else begin

dst(15-0)

nn

end

The word of immediate data is loaded into the destination.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Unaffected

V:

Unaffected

N:

Unaffected

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

R:

LD R,nn

00rr0001 -n(low)- -n(high)

2

I, L

RX:

LD RX,nn

11y11101 00100001 -n(low)- -n(high)

2

I, L

Field Encodings:

rr: 00 for BC, 01 for DE, 10 for HL
y:

0 for IX, 1 for IY

Advertising