mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-13 22:32:03 +00:00
Initialise registers to 0 for better testability.
TODO: is this the real initial state?
This commit is contained in:
parent
5db6a937cb
commit
a5f2dfbc0c
@ -46,7 +46,7 @@ struct ProcessorBase: public InstructionSet::M68k::NullFlowController {
|
||||
// Register state.
|
||||
InstructionSet::M68k::Status status_;
|
||||
SlicedInt32 program_counter_;
|
||||
SlicedInt32 registers_[16]; // D0–D7 followed by A0–A7.
|
||||
SlicedInt32 registers_[16]{}; // D0–D7 followed by A0–A7.
|
||||
SlicedInt32 stack_pointers_[2];
|
||||
|
||||
/// Current state of the DTACK input.
|
||||
|
Loading…
x
Reference in New Issue
Block a user