beautypg.com

Zilog Z8F0130 User Manual

Page 171

background image

eZ8

CPU Core

User Manual

UM012820-0810

JP Instruction

156

Attributes

2

Escaped Mode Addressing

Using Escaped Mode Addressing, address mode RR can specify a work-
ing register Pair. If the high nibble of the source or destination address is

Eh

(

1110b

), a Working Register Pair is inferred. For example, if Working

Register Pair R12 and R13 (with base address

Ch

) is the preferred destina-

tion operand, use

ECh

as the destination operand in the Op Code. To

access Register Pairs with addresses

E0h

to

EFh

, either set the Working

Group Pointer,

RP[7:4]

, to

Eh

or use indirect addressing.

Sample Usage

If Working Register Pair RR2 contains the value

3F45h

, the following

statement replaces the contents of the PC with the value

3F45h

and trans-

fers program control to that location.

JP @RR2

Object Code: C4 E2

2.

The location of the JP IRR1 instruction is moved from its former Z8 CPU Op Code location at

30h

.

Mnemonic Destination

Op
Code
(Hex)

Operand 1 Operand 2 Operand 3

JP

DA

8D

DA[15:8]

DA[7:0]

JP

IRR1

C4

RR1