|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ä |
Flag
values change as part of execution of the
|
|
|
|
instructions
|
|
|
ä |
General
rules for 6 condition/status registers
|
|
|
ä |
PF -
set if and only if (iff) lsbyte of result
|
|
|
|
contains
an even number of 1s
|
|
|
ä |
ZF -
zero flag - set iff result was zero
|
|
|
ä |
SF -
sign flag - set equal to msbit of result
|
|
|
ä |
AF -
auxiliary flag
|
|
|
|
ä |
Used
by decimal arithmetic instruction
|
|
|
|
ä |
Set
iff there has been a carry from (or borrow to) the
|
|
low
nibble to (from) the high nibble
|
|
|
ä |
CF -
carry flag
|
|
|
|
ä |
For
unsigned arithmetic => overflow
|
|
|
|
ä |
Set
iff carry out of (or borrow into) the msbit of the
|
|
|
result
|
|
|
|
ä |
Can
also be used in rotate instructions
|
|