beautypg.com

Table 15, Relative jump offset ranges – Zilog Z16F2810 User Manual

Page 56

background image

Operand Addressing

UM018809-0611

40

ZNEO

®

CPU Core

User Manual

Relative Address.

The JP, JP cc, or CALL opcode includes a signed relative offset field

of 8, 12, 16, or 24 bits, which is added to the Program Counter’s contents. Table 15 pro-
vides the relative address operand ranges. For jumps within the same module, the assem-
bler uses the most efficient offset size. For relative jumps across modules, the assembler
uses a default offset size that can be configured at assembly time.

Table 15. Relative Jump Offset Ranges

Operand Bits

Offset Range

8

–128 to +127

12

–2,048 to +2,047

16

–32,768 to +32,767

24

–8,388,608 to +8,388,607

This manual is related to the following products: