beautypg.com

NEC PD754144 User Manual

Page 246

background image

CHAPTER 11 INSTRUCTION SET

246

User’s Manual U10676EJ3V0UM

Subrou-

tine/stack

control

Machine

Cycle

Instructions

Mnemonic

Operand

Bytes

Operation

Skip Condition

Addressing

Area

CALLA

Note

!addr1

3

3

(SP–6) (SP–3) (SP–4)

← PC

11-0

*11

(SP–5)

← 0, 0, 0, 0

(SP–2)

← Ч, Ч, MBE, RBE

PC

11-0

← addr1, SP ← SP – 6

CALL

Note

!addr

3

3

(SP–4) (SP–1) (SP–2)

← PC

11-0

*6

(SP–3)

← MBE, RBE, 0

PC

11-0

← addr, SP ← SP – 4

4

(SP–6) (SP–3) (SP–4)

← PC

11-0

(SP–5)

← 0, 0, 0, 0

(SP–2)

← Ч, Ч, MBE, RBE

PC

11-0

← addr, SP ← SP – 6

CALLF

Note

!faddr

2

2

(SP–4) (SP–1) (SP–2)

← PC

11-0

*9

(SP – 3)

← MBE, RBE, 0, 0

PC

11-0

← 0 + faddr, SP ← SP – 4

3

(SP–6) (SP–3) (SP–4)

← PC

11-0

(SP–5)

← 0, 0, 0, 0

(SP – 2)

← Ч, Ч, MBE, RBE

PC

11-0

← 0 + faddr, SP ← SP – 6

RET

Note

1

3

MBE, RBE, 0, 0

← (SP + 1)

PC

11-0

← (SP) (SP + 3) (SP + 2)

SP

← SP + 4

Ч, Ч, MBE, RBE ← (SP + 4)

0, 0, 0, 0

← (SP + 1)

PC

11-0

← (SP) (SP + 3) (SP + 2), SP ← SP + 6

RETS

Note

1

3 + S

MBE, RBE, 0, 0

← (SP + 1)

Unconditional

PC

11-0

← (SP) (SP + 3) (SP + 2)

SP

← SP + 4

then skip unconditionally

Ч, Ч, MBE, RBE ← (SP + 4)

0, 0, 0, 0

← (SP + 1)

PC

11-0

← (SP) (SP + 3) (SP + 2), SP ← SP + 6

then skip unconditionally

RETI

Note

1

3

MBE, RBE, 0, 0

← (SP + 1)

PC

11-0

← (SP) (SP + 3) (SP + 2)

PSW

← (SP + 4) (SP + 5), SP ← SP + 6

0, 0, 0, 0

← (SP + 1)

PC

11-0

← (SP) (SP + 3) (SP + 2)

PSW

← (SP + 4) (SP + 5), SP ← SP + 6

Note The shaded portion is supported only in the MkII mode. All others are supported only in the MkI mode.

This manual is related to the following products: