Add BitMasks for the program state register

Added in the Masks and the type to be used for determining the state of the
CPU.