XA User Guide 6-70 4/17/98
BNE Branch if not equal
Syntax: BNE rel8
Operation: (PC) <-- (PC) + 2
if (Z) = 0 then
(PC) <-- (PC + rel8*2)
(PC.0) <-- 0
Description: The branch is taken if the last arithmetic/logic instruction (or other instruction that
updates the Z flag) had a non-zero result (the Z flag contains a 0). 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 0 0 1 0
rel8