diff options
| author | taitep <taitep@taitep.se> | 2025-12-23 18:46:38 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-23 18:46:38 +0100 |
| commit | 43bae12ea00dd6d3bb48967aa97aa25ebcd96793 (patch) | |
| tree | 7a3855624ffb5648e2a49b7ac6beda52766cda3c /src | |
| parent | 0c6a540a85f3ac07e4354fc567e27b89d3584c14 (diff) | |
Comment out the unused 'Pause' instruction result
Diffstat (limited to 'src')
| -rw-r--r-- | src/core.rs | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/core.rs b/src/core.rs index 16405c5..8fe5520 100644 --- a/src/core.rs +++ b/src/core.rs @@ -17,7 +17,7 @@ pub(crate) type Exception = (); pub(crate) enum InstructionResult { Normal, Exception(Exception), - Pause, + // Pause, } pub struct Core { @@ -72,11 +72,10 @@ impl Core { eprintln!("Exception from instruction"); eprintln!("PC: {:016x}, instr: {:08x}", self.pc, instr.0); break; - } - InstructionResult::Pause => { - eprintln!("Instruction asked for pause"); - break; - } + } // InstructionResult::Pause => { + // eprintln!("Instruction asked for pause"); + // break; + // } } } else { eprintln!("Invalid Instruction {:08x} at PC: {:x}", instr.0, self.pc); |
