Flag Register

One last important register is the flag register. This register controls how certain instruction will work, such as conditional jumps (in BASIC, they are like IF-THEN's). They are stored as bits (0's or 1's) in the flag register. Depending on the result of an instruction (i.e. CMP) the values may be: Return