Implemented CMP, CPX, and CPY opcodes.