Encoding (format 12, first word at lower address):
1 | 1 | 0 | 0 | 1 | 1 | 1 | s2 | s1 | s0 | a2 | a1 | a0 | b2 | b1 | b0 |
0 | 0 | 0 | s9 | s8 | s7 | s6 | s5 | s4 | s3 | a5 | a4 | a3 | b5 | b4 | b3 |
Syntax:
BGTU
S,
Ra,
Rb
Constraints:
Outcome:
Notes:
The comparison between Ra and Rb is an unsigned comparison.
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.