Condition Codes
When performing operations, the CPU will set condition codes in the status register after
        the instruction is executed. 
For example the tst, cmp instructions will set the condition codes that represent the result of the comparison of the operands.
The following are all the condition codes available:
 For example the tst, cmp instructions will set the condition codes that represent the result of the comparison of the operands.
The following are all the condition codes available:
hi
 Unsigned higher
ls
 Unsigned lower or same
cc
 Carry clear
cs
 Carry set
ne
 Not equal
eq
 Equal
vc
 Overflow clear
vs
 Overflow set
pl
 Plus
mi
 Minus
ge
 Greater or equal
lt
 Less than
gt
 Greater than
le
 Less than or equal
hs
 Unsigned higher or same
lo
 Unsigned lower
Condition codes flags
The condition codes X, N, Z, V, C are the individual flags that can be set in the status
        register. 
 
X is the extend flag, it is set when the result of an operation is too large to fit in the destination register.
N is the negative flag, it is set when the result of an operation is negative.
Z is the zero flag, it is set when the result of an operation is zero.
V is the overflow flag, in arithmetical operations, it is set if it caused the result to overflow.
C is the carry flag, when an operation causes a carry, like an addition or a shift, it is set to the value of the carry.
 X is the extend flag, it is set when the result of an operation is too large to fit in the destination register.
N is the negative flag, it is set when the result of an operation is negative.
Z is the zero flag, it is set when the result of an operation is zero.
V is the overflow flag, in arithmetical operations, it is set if it caused the result to overflow.
C is the carry flag, when an operation causes a carry, like an addition or a shift, it is set to the value of the carry.
hi
 !c && !z
ls
 c || z
cc
 !c
cs
 c
ne
 !z
eq
 z
vc
 !v
vs
 v
pl
 !n
mi
 n
ge
 (n && v) || (!n && !v)
lt
 (n && !v) || (!n && v)
gt
 (n && v && !z) || (!n && !v && !z)
le
 z || (n && !v) || (!n && v)
hs
 !c
lo
 c
