XA User Guide 6-62 4/17/98
BG Branch if greater than (unsigned)
Syntax: BG rel8
Operation: (PC) <-- (PC) + 2
if (Z) OR (C) = 0 then
(PC) <-- (PC + rel8*2)
(PC.0) <-- 0
Description: The branch is taken if the last compare instruction had a destination value that was
greater than the source value, in an unsigned operation. The branch range is +254 bytes to -256
bytes, with the limitation that the target address is word aligned in code memory.
Note: Refer to section 6.3 for details of branch range
Size: Bit
Flags Updated: none
Bytes: 2
Clocks: 6t/3nt
Encoding:
1 1 1 1 1 0 0 0
rel8