ComSquare
Classes | Enumerations
ComSquare::CPU Namespace Reference

Classes

class  CPU
 The main CPU. More...
 
class  DMA
 Class handling all DMA/HDMA transfers (Direct Memory Access or H-Blank Direct Memory Access) More...
 
struct  Instruction
 Struct containing basic information about instructions. More...
 
struct  InternalRegisters
 Struct containing internal registers of the CPU. More...
 
struct  Registers
 Struct containing registers for the main CPU. More...
 

Enumerations

enum  AddressingMode {
  Implied, Immediate8bits, Immediate16bits, ImmediateForA,
  ImmediateForX, Absolute, AbsoluteLong, DirectPage,
  DirectPageIndirect, DirectPageIndirectLong, AbsoluteIndexedByX, AbsoluteIndexedByXLong,
  AbsoluteIndexedByY, DirectPageIndexedByX, DirectPageIndexedByY, DirectPageIndirectIndexedByX,
  DirectPageIndirectIndexedByY, DirectPageIndirectIndexedByYLong, StackRelative, StackRelativeIndirectIndexedByY,
  AbsoluteIndirect, AbsoluteIndirectIndexedByX, AbsoluteIndirectLong
}
 Different addressing modes that instructions can use for the main CPU. More...
 

Enumeration Type Documentation

◆ AddressingMode

Different addressing modes that instructions can use for the main CPU.

Enumerator
Implied 
Immediate8bits 
Immediate16bits 
ImmediateForA 
ImmediateForX 
Absolute 
AbsoluteLong 
DirectPage 
DirectPageIndirect 
DirectPageIndirectLong 
AbsoluteIndexedByX 
AbsoluteIndexedByXLong 
AbsoluteIndexedByY 
DirectPageIndexedByX 
DirectPageIndexedByY 
DirectPageIndirectIndexedByX 
DirectPageIndirectIndexedByY 
DirectPageIndirectIndexedByYLong 
StackRelative 
StackRelativeIndirectIndexedByY 
AbsoluteIndirect 
AbsoluteIndirectIndexedByX 
AbsoluteIndirectLong