mirror of
https://github.com/TomHarte/CLK.git
synced 2025-08-12 09:25:19 +00:00
Initialise registers to 0 for better testability.
TODO: is this the real initial state?
This commit is contained in:
@@ -46,7 +46,7 @@ struct ProcessorBase: public InstructionSet::M68k::NullFlowController {
|
|||||||
// Register state.
|
// Register state.
|
||||||
InstructionSet::M68k::Status status_;
|
InstructionSet::M68k::Status status_;
|
||||||
SlicedInt32 program_counter_;
|
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];
|
SlicedInt32 stack_pointers_[2];
|
||||||
|
|
||||||
/// Current state of the DTACK input.
|
/// Current state of the DTACK input.
|
||||||
|
Reference in New Issue
Block a user