FLAG cc,HL
Check Condition Code
Rabbit 4000/5000 Instruction
|
| -- |
FLAG cc,HL |
if (cc) then HL=1 else HL=0 |
| ED C4 |
FLAG NZ,HL |
if (NZ) then HL=1 else HL=0 |
| ED CC |
FLAG Z,HL |
if (Z) then HL=1 else HL=0 |
| ED D4 |
FLAG NC,HL |
if (NC) then HL=1 else HL=0 |
| ED DC |
FLAG C,HL |
if (C) then HL=1 else HL=0 |
| ED A4 |
FLAG GT,HL |
if (GT) then HL=1 else HL=0 |
| ED B4 |
FLAG LT,HL |
if (LT) then HL=1 else HL=0 |
| ED AC |
FLAG GTU,HL |
if (GTU) then HL=1 else HL=0 |
| ED BC |
FLAG V,HL |
if (V) then HL=1 else HL=0 |
Description
If the condition cc is true then HL is set to one. Otherwise, HL is reset to zero.
|
|
|
True when Z flag has not been set
|
|
|
True when Z flag has been set
|
|
|
True when C flag has not been set
|
|
|
True when the C flag has been set
|
|
|
True when Z is 0 and L/V and S
are either both 1 or both 0.
|
|
|
True when either S or L/V is 1.
|
|
|
True when C and Z are both 0.
|
|
|
True when L/V flag is set: there
is overflow.
|