T.I.M | ISA Specification
 All Pages
CALLR

Description

Stores the program counter into the link register before setting the program counter to the value of the specified register.

Register Access

Can read from any register except the link register and the program counter. Implicitly writes to the link register and the program counter.

Memory Layout

This is a 2 byte instruction GP/SR bits determine if the destination and source registers index the general or special purpose register files.

Opcode | Condition Code | GP/SP | Source | Don't Care
001000 | 00 | I | SSSS | ???

Assembly Code Examples

1. | CALL $R0
2. | CALL $T0
See Also
Instructions Quick Reference, CALLI, JUMPI, JUMPR