M6502State Class
Definition
Represents the state of an M6502 processor, including registers, flags, and memory.
public abstract class M6502State
Properties
| Name | Description |
|---|---|
FlagB |
Gets the break flag, B. |
FlagC |
Gets the carry flag, C. |
FlagD |
Gets the decimal flag, D. |
FlagI |
Gets the interrupt disable flag, I. |
FlagN |
Gets the negative flag, N. |
FlagV |
Gets the overflow flag, V. |
FlagZ |
Gets the zero flag, Z. |
Memory |
Gets the memory state. |
RegisterA |
Gets the accumulator register. |
RegisterP |
Gets the processor status register. |
RegisterPC |
Gets the program counter. |
RegisterS |
Gets the stack pointer. |
RegisterX |
Gets the X index register. |
RegisterY |
Gets the Y index register. |