beautypg.com

Table 3, Condition codes – Zilog Z16F2810 User Manual

Page 28

background image

Architectural Overview

UM018809-0611

12

ZNEO

®

CPU Core

User Manual

called the condition code (cc), which are assembled into each conditional jump opcode.
Table 3 summarizes condition codes and their assembly language mnemonics.

Some binary condition codes are expressed by more than one mnemonic.

The result of the flag test operation determines if the conditional jump executes.

Table 3. Condition Codes

Binary

Hex

Assembly
Mnemonic

Definition

Flag Test Operation

(Jump if True)

0000

0

B

Blank

B = 1

0001

1

LT

Less Than

(S XOR V) = 1

0010

2

LE

Less Than or Equal

(Z OR (S XOR V)) = 1

0011

3

ULE

Unsigned Less Than or Equal

(C OR Z) = 1

0100

4

OV

Overflow

V = 1

0101

5

MI

Minus

S = 1

0110

6

Z

Zero

Z = 1

0110

6

EQ

Equal

Z = 1

0111

7

C

Carry

C = 1

0111

7

ULT

Unsigned Less Than

C = 1

1000

8

NB

Not Blank

B = 0

1001

9

GE

Greater Than or Equal

(S XOR V) = 0

1010

A

GT

Greater Than

(Z OR (S XOR V)) = 0

1011

B

UGT

Unsigned Greater Than

(C OR Z) = 0

1100

C

NOV

No Overflow

V = 0

1101

D

PL

Plus

S = 0

1110

E

NZ

Non-Zero

Z = 0

1110

E

NE

Not Equal

Z = 0

1111

F

NC

No Carry

C = 0

1111

F

UGE

Unsigned Greater Than or
Equal

C = 0

Note:

This manual is related to the following products: