T.I.M | ISA Specification
 All Pages
JUMPI

Description

Set the program counter to the value of the immediate. Used for jumping over data sections and non-return based control flow. The immediate is treated as an unsigned byte aligned value and the PC is simply set to that value.

Register Access

Has no explicit source or destination registers. It only implicitly sets the value of the program counter.

Memory Layout

This is a 4 byte instruction with 24 bits representing the immediate.

Opcode | Condition Code | Immediate
001000 | 00 | IIII IIII IIII IIII IIII IIII

Assembly Code Examples

JUMP 0xA0 ; Absoloute jump to 0xA0
JUMP 0x3 forward ; Jump forward three bytes in memory.
JUMP 0x5 backward ; Jump backward five bytes in memory.
See Also
Instructions Quick Reference, JUMPR, CALLI, CALLR