Encoding (format 16, first word at lower address):
1 | 1 | 0 | 0 | 0 | 0 | 1 | s5 | s4 | s3 | s2 | s1 | s0 | b2 | b1 | b0 |
0 | 0 | 0 | s18 | s17 | s16 | s15 | s14 | s13 | s12 | s11 | s10 | s9 | b5 | b4 | b3 |
Syntax:
BAL
S,
Rb
Constraints:
Outcome:
Notes:
Remember that the program counter is a word address, so the offset is the number of words by which to adjust the PC.
Branching to a non-existent location will trigger a bus error exception.