Notation And Binary Encoding - ZiLOG Z8 Series User Manual

Table of Contents

Advertisement

Table 36. Condition Codes
Binary
Hex
0000
0
1000
8
0111
7
1111
F
0110
6
1110
E
1101
D
0101
5
0100
4
1100
C
0110
6
1110
E
1001
9
0001
1
1010
A
0010
2
1111
F
0111
7
1011
B
0011
3

Notation and Binary Encoding

In the detailed instruction descriptions that make up the rest of this chapter, operands and
status flags are represented by a notational shorthand. Operands, condition codes, address
modes, and their notations are as follows (see
UM001604-0108
Mnemonic
Definition
F
Always False
(blank)
Always True
C
Carry
NC
No Carry
Z
Zero
NZ
Non-Zero
PL
Plus
Ml
Minus
OV
Overflow
NOV
No Overflow
EQ
Equal
NE
Not Equal
GE
Greater Than or Equal
LT
Less Than
GT
Greater Than
LE
Less Than or Equal
UGE
Unsigned Greater Than or Equal
ULT
Unsigned Less Than
UGT
Unsigned Greater Than
ULE
Unsigned Less Than or Equal
Flag Settings
C = 1
C = 0
Z = 1
Z = 0
S = 0
S = 1
V = 1
V = 0
Z = 1
Z = 0
(S XOR V) = 0
(S XOR V) = 1
(Z OR (S XOR V)) = 0
(Z OR (S XOR V)) = 1
C = 0
C = 1
(C = 0 AND Z = 0) = 1
(C OR Z) = 1
Table 37
on page 148).
®
Z8
CPU
User Manual
147
Instruction Set

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Z8 Series and is the answer not in the manual?

This manual is also suitable for:

Z8 cpu

Table of Contents