Conditional Operations

In addition to unconditional branches, calls, and returns, the ’C5x has a full complement of conditional branches, calls, and returns. The execution of these instructions is based on the conditions listed in Table 4–8.

Table 4–8. Conditions for Branch, Call, and Return Instructions

Mnemonic Condition Description

EQ ACC=0 Accumulator equal to 0

NEQ ACC p 0 Accumulator not equal to 0

LT ACC < 0 Accumulator less than 0

LEQ ACC -> 0 Accumulator less than or equal to 0

GT ACC -> 0 Accumulator greater than 0

GEQ ACC -> 0 Accumulator greater than or equal to 0

NC C=0 Carry bit cleared

C C=1 Carry bit set

NOV OV=0 No accumulator overflow detected

OV OV=1 Accumulator overflow detected

BIO BIO is low BIO signal is low

NTC TC=0 Test/control flag cleared

TC TC=1 Test/control flag set

UNC none Unconditional operation