FLAG cc,HL
Check Condition Code
Rabbit 4000 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 the Z flag has not been set
|
|
|
|
True when the Z flag has been set
|
|
|
|
True when the 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 is 1 or L/V is 1.
|
|
|
|
True when C and Z are both 0.
|
|
|
|
True when the L/V flag is set: there is overflow.
|