z8f1601 ZiLOG Semiconductor, z8f1601 Datasheet - Page 204

no-image

z8f1601

Manufacturer Part Number
z8f1601
Description
Z8 Encore!? Microcontroller With Flash Memory And 10-bit A/d Converter
Manufacturer
ZiLOG Semiconductor
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
z8f1601AN020EC
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601AN020EC00TR
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601AN020SC
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601AN020SC00TR
Manufacturer:
Zilog
Quantity:
10 000
Part Number:
z8f1601VN020EC
Manufacturer:
Freescale
Quantity:
29
Part Number:
z8f1601VN020EC
Manufacturer:
Zilog
Quantity:
10 000
Condition Codes
PS017609-0803
The C, Z, S and V flags control the operation of the conditional jump (JP cc and JR cc)
instructions. Sixteen frequently useful functions of the flag settings are encoded in a 4-bit
field called the condition code (cc), which forms Bits 7:4 of the conditional jump instruc-
tions. The condition codes are summarized in Table 117. Some binary condition codes can
be created using more than one assembly code mnemonic. The result of the flag test oper-
ation is used to decide if the conditional jump is executed.
Table 117. Condition Codes
Binary
0000
0001
0010
0011
0100
0101
0110
0110
1000
1001
1010
1011
1100
1101
0111
0111
1110
1110
1111
1111
Hex
A
D
B
C
E
E
0
1
2
3
4
5
6
6
7
7
8
9
F
F
T (or blank) Always True
Mnemonic Definition
Assembly
NOV
UGE
ULE
ULT
UGT
OV
EQ
GE
NZ
NE
NC
LE
Ml
GT
PL
LT
Z
C
F
Always False
Less Than
Less Than or Equal
Unsigned Less Than or Equal
Overflow
Minus
Zero
Equal
Carry
Unsigned Less Than
Greater Than or Equal
Greater Than
Unsigned Greater Than
No Overflow
Plus
Non-Zero
Not Equal
No Carry
Unsigned Greater Than or Equal C = 0
Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Flag Test Operation
(S XOR V) = 1
(Z OR (S XOR V)) = 1
(C OR Z) = 1
V = 1
S = 1
Z = 1
Z = 1
C = 1
C = 1
(S XOR V) = 0
(Z OR (S XOR V)) = 0
(C = 0 AND Z = 0) = 1
V = 0
S = 0
Z = 0
Z = 0
C = 0
eZ8 CPU Instruction Set
Z8 Encore!
®
186

Related parts for z8f1601