ComSquare
Classes | Public Attributes | List of all members
ComSquare::CPU::Registers Struct Reference

Struct containing registers for the main CPU. More...

#include <CPU.hpp>

Collaboration diagram for ComSquare::CPU::Registers:
Collaboration graph

Classes

union  p
 The Processor status register;. More...
 

Public Attributes

union {
   struct {
      uint8_t   ah
 
      uint8_t   al
 
   } 
 
   uint16_t   a
 
}; 
 The Accumulator. More...
 
uint8_t dbr
 The Data Bank Register;. More...
 
union {
   struct {
      uint8_t   dh
 
      uint8_t   dl
 
   } 
 
   uint16_t   d
 
}; 
 The Direct register;. More...
 
uint8_t k
 The program banK register;. More...
 
union {
   struct {
      uint8_t   pch
 
      uint8_t   pcl
 
   } 
 
   uint16_t   pc
 
}; 
 The Program Counter;. More...
 
union {
   struct {
      uint8_t   sh
 
      uint8_t   sl
 
   } 
 
   uint16_t   s
 
}; 
 The Stack pointer. More...
 
union {
   struct {
      uint8_t   xh
 
      uint8_t   xl
 
   } 
 
   uint16_t   x
 
}; 
 The X index register. More...
 
union {
   struct {
      uint8_t   yh
 
      uint8_t   yl
 
   } 
 
   uint16_t   y
 
}; 
 The Y index register. More...
 

Detailed Description

Struct containing registers for the main CPU.

Member Data Documentation

◆ @27

union { ... }

The Accumulator.

◆ @29

union { ... }

The Direct register;.

◆ @31

union { ... }

The Program Counter;.

◆ @33

union { ... }

The Stack pointer.

◆ @35

union { ... }

The X index register.

◆ @37

union { ... }

The Y index register.

◆ a

uint16_t ComSquare::CPU::Registers::a

◆ ah

uint8_t ComSquare::CPU::Registers::ah

◆ al

uint8_t ComSquare::CPU::Registers::al

◆ d

uint16_t ComSquare::CPU::Registers::d

◆ dbr

uint8_t ComSquare::CPU::Registers::dbr

The Data Bank Register;.

◆ dh

uint8_t ComSquare::CPU::Registers::dh

◆ dl

uint8_t ComSquare::CPU::Registers::dl

◆ k

uint8_t ComSquare::CPU::Registers::k

The program banK register;.

◆ pc

uint16_t ComSquare::CPU::Registers::pc

◆ pch

uint8_t ComSquare::CPU::Registers::pch

◆ pcl

uint8_t ComSquare::CPU::Registers::pcl

◆ s

uint16_t ComSquare::CPU::Registers::s

◆ sh

uint8_t ComSquare::CPU::Registers::sh

◆ sl

uint8_t ComSquare::CPU::Registers::sl

◆ x

uint16_t ComSquare::CPU::Registers::x

◆ xh

uint8_t ComSquare::CPU::Registers::xh

◆ xl

uint8_t ComSquare::CPU::Registers::xl

◆ y

uint16_t ComSquare::CPU::Registers::y

◆ yh

uint8_t ComSquare::CPU::Registers::yh

◆ yl

uint8_t ComSquare::CPU::Registers::yl

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