|
ComSquare
|
Struct used to emulate the state of the processor during the disassembly since instructions take a different amount of space depending on some flags. More...
#include <CPUDebug.hpp>
Public Attributes | |
| bool | mFlag = true |
| The accumulator and Memory width flag (in native mode only) - 0 = 16 bits mode, 1 = 8 bits mode. @info If this flag is set to false, instructions that have the ImmediateByA addressing mode take 1 more bit of space. More... | |
| bool | xFlag = true |
| The indeX register width flag (in native mode only) - 0 = 16 bits mode, 1 = 8 bits mode OR the Break flag (in emulation mode only) @info If this flag is set to false, instructions that have the ImmediateByX addressing mode take 1 more bit of space. More... | |
| bool | isEmulationMode = true |
| Is the CPU emulating a 6502? If yes, some instructions don't change flags the same way. More... | |
| TrustLevel | level = Safe |
| Sometimes, the flags can't be tracked correctly after an instruction so the next instructions may not be correctly disassembled. More... | |
Struct used to emulate the state of the processor during the disassembly since instructions take a different amount of space depending on some flags.
| bool ComSquare::Debugger::CPU::DisassemblyContext::isEmulationMode = true |
Is the CPU emulating a 6502? If yes, some instructions don't change flags the same way.
| TrustLevel ComSquare::Debugger::CPU::DisassemblyContext::level = Safe |
Sometimes, the flags can't be tracked correctly after an instruction so the next instructions may not be correctly disassembled.
| bool ComSquare::Debugger::CPU::DisassemblyContext::mFlag = true |
The accumulator and Memory width flag (in native mode only) - 0 = 16 bits mode, 1 = 8 bits mode. @info If this flag is set to false, instructions that have the ImmediateByA addressing mode take 1 more bit of space.
| bool ComSquare::Debugger::CPU::DisassemblyContext::xFlag = true |
The indeX register width flag (in native mode only) - 0 = 16 bits mode, 1 = 8 bits mode OR the Break flag (in emulation mode only) @info If this flag is set to false, instructions that have the ImmediateByX addressing mode take 1 more bit of space.
1.8.17