|
Z86E3016PSG Datasheet, PDF (226/348 Pages) Zilog, Inc. – Z86E3016PSG | |||
|
◁ |
Z8 Family of Microcontrollers
User Manual
208
IRET changes the value of the Half Carry Flag when the Flag Register
saved in the Stack is restored.
Condition Codes
The C, Z, S, and V Flags control the operation of the âConditionalâ Jump
instructions. Sixteen frequently useful functions of the ï¬ag settings are
encoded in a 4-bit ï¬eld called the condition code (cc), which forms bits 4-
7 of the conditional instructions.
Table 34. Z8 Flag Definitions
Flag
C
Z
S
V
D
H
Description
Carry Flag
Zero Flag
Sign Flag
Overflow Flag
Decimal Adjust Flag
Half Carry Flag
Condition codes and ï¬ag settings are summarized in Tables 34 through
36. Notation for the ï¬ags and how they are affected are as follows:
Table 35. Flag Settings Definitions
Symbol
0
1
*
â
X
Definition
Cleared to 0
Set to 1
Set or cleared according to operation
Unaffected
Undefined
Instruction Set
UM001602-0904
|
▷ |