In the end, only the Carry flag can be fully operated and tested with specific instructions.
Code: Select all
Set instruction Test instruction Flag
-----------------------------------------
SEC BCC C (carry)
CLC BCS
-----------------------------------------
none BPL N (negative)
BMI
-----------------------------------------
none BEQ Z (zero)
BNE
-----------------------------------------
CLV BVC V (overflow)
BVS
-----------------------------------------
SED none D (decimal)
CLD