beautypg.com

Zilog Z8F0130 User Manual

Page 205

background image

eZ8

CPU Core

User Manual

UM012820-0810

MULT Instruction

190

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

Using Escaped Mode Addressing, if Working Register R4 contains the
value

86h

and Working Register R5 contains the value

53h

, the following

statement provides a result of

2B72h

, stores the most significant byte of

the result (

2Bh

) in Working Register R4 and stores the least significant

byte of the result (

72h

) in Working Register R5:

MULT E4h

Object Code: F4 E4

The flags are unaffected.