
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
Comentarios a estos manuales