ComSquare::CPU::Registers::p Union Reference

The Processor status register;. More...

`#include <CPU.hpp>`

Collaboration diagram for ComSquare::CPU::Registers::p:

## Public Attributes

bool | n: 1
| The Negative flag. More...
bool | v: 1
| The oVerflow flag. More...
bool | m: 1
| The accumulator and Memory width flag (in native mode only) More...
union {
bool x: 1
| The indeX register width flag (in native mode only) More...
bool b: 1
| The Break flag (in emulation mode only) More...
}; |
bool | d: 1
| The Decimal mode flag. More...
bool | i: 1
| The Interrupt disable flag. More...
bool | z: 1
| The Zero flag. More...
bool | c: 1
| The Carry flag. More...

## Detailed Description

The Processor status register;.

## Member Data Documentation

## @51

union { ... }

## b

bool ComSquare::CPU::Registers::p::b

The Break flag (in emulation mode only)

## c

bool ComSquare::CPU::Registers::p::c

The Carry flag.

## d

bool ComSquare::CPU::Registers::p::d

The Decimal mode flag.

## i

bool ComSquare::CPU::Registers::p::i

The Interrupt disable flag.

## m

bool ComSquare::CPU::Registers::p::m

The accumulator and Memory width flag (in native mode only)

## n

bool ComSquare::CPU::Registers::p::n

The Negative flag.

## v

bool ComSquare::CPU::Registers::p::v

The oVerflow flag.

## x

bool ComSquare::CPU::Registers::p::x

The indeX register width flag (in native mode only)

## z

bool ComSquare::CPU::Registers::p::z

The Zero flag.

The documentation for this union was generated from the following file:

- sources/CPU/CPU.hpp