beautypg.com

Table 45. program control instructions (continued) – Zilog Z80180 User Manual

Page 246

background image

Z8018x
Family MPU User Manual

230

UM005003-0703

Jump

JR Zj

00 101 000

D

2

6

continue : Z = 0

· · · ·

· ·

2

8

PC

R

, + j

®PC

R

: Z = 1

JR NZj

00 100 000

D

2

6

continue : Z = 1

2

8

PC

R

+ j

®PC

R

: Z = 0

Return

RET

11001001

D

1

9

(SP)

M

®PCLr

· · · ·

· ·

(SP + 1)

M

®PCHr

SP

R

+ 2

®SP

R

RET f

11f 000

D

1

5 (f : false)

continue : f is false

· · · ·

· ·

1

10 (f : true) RET : f is true

RETI

11101101

D

2

12 (R0,R1) (SP)

M

®PCLr

· · · ·

· ·

01001101

ZZ(z)

(SP + 1)

M

®PCHr

SP

R

+ 2

®SP

R

RETN

11101101

D

2

12

(SP)

M

®PCLr

· · · ·

· ·

01000101

(SP + 1)

M

®PCHr

SP

R

+ 2

®SP

R

IEF2

®IEF1

Restart

RST v

11 v 111

D

1

11

PCHr

®(SP-1)

M

· · · ·

· ·

PCLr

®(SP-2)

M

0

®PCHr

v

®PCLr

SP

R

-2

®SP

R

Table 45. Program Control Instructions (Continued)

Operation
Name

Mnemonics Op Code

Addressing

Bytes States

Operation

Flags

7 6 4 2

1 0

Immed Ext Ind Reg RegI Imp Rel

S Z H P/V N C

This manual is related to the following products: