Appearance
CPUInfo
cpp
#include <Components/CPU/CPUTypes.h>cpp
struct CPUInfoDefined in Components/CPU/CPUTypes.h:133
State of the CPU.
Public Attributes
| Return | Name | Description |
|---|---|---|
i64 | cycle | Cycle counter. |
u16 | pc0 | Address of the current instruction. |
u16 | pc | Program counter. |
u8 | sp | Stack pointer. |
u8 | a | Accumulator. |
u8 | x | X register. |
u8 | y | Y register. |
u8 | sr | Status register. |
u8 | irq | State of the IRQ lines. |
u8 | nmi | State of the NMI lines. |
bool | rdy | State of the RDY line. |
bool | jammed | The CPU is jammed. |
long | next | Next micro instruction to be executed. |
u8 | processorPort | Processor port register. |
u8 | processorPortDir | Processor port data direction register. |
cycle
cpp
i64 cycleDefined in Components/CPU/CPUTypes.h:135
Cycle counter.
pc0
cpp
u16 pc0Defined in Components/CPU/CPUTypes.h:137
Address of the current instruction.
pc
cpp
u16 pcDefined in Components/CPU/CPUTypes.h:138
Program counter.
sp
cpp
u8 spDefined in Components/CPU/CPUTypes.h:139
Stack pointer.
a
cpp
u8 aDefined in Components/CPU/CPUTypes.h:140
Accumulator.
x
cpp
u8 xDefined in Components/CPU/CPUTypes.h:141
X register.
y
cpp
u8 yDefined in Components/CPU/CPUTypes.h:142
Y register.
sr
cpp
u8 srDefined in Components/CPU/CPUTypes.h:143
Status register.
irq
cpp
u8 irqDefined in Components/CPU/CPUTypes.h:145
State of the IRQ lines.
nmi
cpp
u8 nmiDefined in Components/CPU/CPUTypes.h:146
State of the NMI lines.
rdy
cpp
bool rdyDefined in Components/CPU/CPUTypes.h:147
State of the RDY line.
jammed
cpp
bool jammedDefined in Components/CPU/CPUTypes.h:148
The CPU is jammed.
next
cpp
long nextDefined in Components/CPU/CPUTypes.h:150
Next micro instruction to be executed.
processorPort
cpp
u8 processorPortDefined in Components/CPU/CPUTypes.h:152
Processor port register.
processorPortDir
cpp
u8 processorPortDirDefined in Components/CPU/CPUTypes.h:153
Processor port data direction register.