beautypg.com

Ppendix, Ddir im i, Nstructions – Zilog Z80380 User Manual

Page 262: Ffected

background image

U

SER

'

S

M

ANUAL

Z

ILOG

U

SER

’s M

ANUAL

A

PPENDIX

E

I

NSTRUCTIONS

A

FFECTED

BY

DDIR IM I

NSTRUCTIONS

This Appendix has instructions which can be used with the
Decoder Directive(s) Extend Immediate. There are eight
tables (E1-E8) which are the subset of the Table A, sorted
by the category of the instruction.

Note that the instructions listed here does not have the
DDIR Decoder Directive in front of the instructions listed
below, and notation used here may be different by the
assembler to be used.

Table E-1. Valid with DDIR IB in Extended mode. LW

bit status does not affect the operation

ADD

HL,(123456H)

ED

C6

56

34

12

ADD

SP,123456H

ED

82

56

34

12

CALL

123456H

CD

56

34

12

CALL

C,123456H

DC

56

34

12

CALL

M,123456H

FC

56

34

12

CALL

NC,123456H

D4

56

34

12

CALL

NZ,123456H

C4

56

34

12

CALL

P,123456H

F4

56

34

12

CALL

PE,123456H

EC

56

34

12

CALL

PO,123456H

E4

56

34

12

CALL

Z,123456H

CC

56

34

12

JP

123456H

C3

56

34

12

JP

C,123456H

DA

56

34

12

JP

M,123456H

FA

56

34

12

JP

NC,123456H

D2

56

34

12

JP

NS,123456H

F2

56

34

12

JP

NV,123456H

E2

56

34

12

JP

NZ,123456H

C2

56

34

12

JP

P,123456H

F2

56

34

12

JP

PE,123456H

EA

56

34

12

JP

PO,123456H

E2

56

34

12

JP

S,123456H

FA

56

34

12

JP

V,123456H

EA

56

34

12

JP

Z,123456H

CA

56

34

12

SUB

HL,(123456H)

ED

D6

56

34

12

SUB

SP,123456H

ED

92

56

34

12

Table E-2. Valid with DDIR IB. XM bit status does not

affect the operation. Transfer size determined by LW

bit. (Either with DDIR IB, DDIR IB,LW or DDIR IB,W)

LD

(123456H),BC

ED

43

56

34

12

LD

(123456H),DE

ED

53

56

34

12

LD

(123456H),HL

22

56

34

12

LD

(123456H),HL

ED

63

56

34

12

LD

(123456H),IX

DD

22

56

34

12

LD

(123456H),IY

FD

22

56

34

12

LD

(123456H),SP

ED

73

56

34

12

LD

(IX+1234H),BC

DD

CB

34

12

0B

LD

(IX+1234H),DE

DD

CB

34

12

1B

LD

(IX+1234H),HL

DD

CB

34

12

3B

LD

(IX+1234H),IY

DD

CB

34

12

2B

LD

(IY+1234H),BC

FD

CB

34

12

0B

LD

(IY+1234H),E

FD

73

34

12

LD

(IY+1234H),HL

FD

CB

34

12

3B

LD

(IY+1234H),IX

FD

CB

34

12

2B

LD

(SP+1234H),BC DD

CB

34

12

09

LD

(SP+1234H),DE DD

CB

34

12

19

LD

(SP+1234H),HL DD

CB

34

12

39

LD

(SP+1234H),IX

DD

CB

34

12

29

LD

(SP+1234H),IY

FD

CB

34

12

29

LD

BC,(123456H)

ED

4B

56

34

12

LD

BC,(IX+1234H)

DD

CB

34

12

03

LD

BC,(IY+1234H)

FD

CB

34

12

03

LD

BC,(SP+1234H) DD

CB

34

12

01

LD

DE,(123456H)

ED

5B

56

34

12

LD

DE,(IX+1234H)

DD

CB

34

12

13

LD

DE,(IY+1234H)

FD

CB

34

12

13

LD

DE,(SP+1234H) DD

CB

34

12

11

LD

HL,(123456H)

2A

56

34

12

LD

HL,(123456H)

ED

6B

56

34

12

LD

HL,(IX+1234H)

DD

CB

34

12

33

LD

HL,(IY+1234H)

FD

CB

34

12

33

LD

HL,(SP+1234H) DD

CB

34

12

31

LD

IX,(123456H)

DD

2A

56

34

12

LD

IX,(IY+1234H)

FD

CB

34

12

23

LD

IX,(SP+1234H)

DD

CB

34

12

21

LD

IY,(123456H)

FD

2A

56

34

12

LD

IY,(IX+1234H)

DD

CB

34

12

23

LD

IY,(SP+1234H)

FD

CB

34

12

21

LD

SP,(123456H)

ED

7B

56

34

12

LDW

(BC),123456H

ED

06

56

34

12

LDW

(DE),123456H

ED

16

56

34

12

LDW

(HL),123456H

ED

36

56

34

12