Branch if Arithmetic Instructions

From Toyota Wiki
Jump to: navigation, search

BGEA: Branch if arithmetic >= (N ∀ V = 0) Branches if the result of an arithmetic compare was greater than or equal to operand 1: 8 bit relative shift (all branch instructions use 8 bit relative for the branch so can only access +/- 127 bytes from the instruction location)

Here N (negative) and V (overflow) are two bits in the ECU CCR register

BLTA: Branch if arithmetic < (N ∀ V = 1) Branches if the result of an arithmetic compare was less than

Personal tools