Ldw load immediate (word) – Zilog Z80380 User Manual

Page 119

Advertising
background image

5-85

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

LDW

LOAD IMMEDIATE (WORD)

LDW dst,nn

dst = IR

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

IR:

LDW (IR),nn

11101101 00pp0110 -n(low)- -n(high)

3+w

I, L

Field Encodings:

pp: 00 for BC, 01 for DE, 11 for HL

Advertising