4.3.3 Jumps
Format:
mnemonic | Ra.wq,(Rb.ab),hint | !Memory format |
Operation:
{update PC}
va ← Rbv AND {NOT 3} Ra ← PC
PC ← va
Exceptions: |
|
None |
|
Instruction mnemonics: |
|
JMP | Jump |
JSR | Jump to Subroutine |
RET | Return from Subroutine |
JSR_COROUTINE | Jump to Subroutine Return |
Qualifiers: |
|
None |
|
Description:
The PC of the instruction following the Jump instruction (the updated PC) is written to register Ra and then the PC is loaded with the target virtual address.
The new PC is supplied from register Rb. The low two bits of Rb are ignored. Ra and Rb may specify the same register; the target calculation using the old value is done before the new value is assigned.
All Jump instructions do identical operations. They only differ in hints to possible
These bits are intended to be used as shown in Table