From 9a9bef7dd7dce7d5c10b7cf49a42478ad85829ac Mon Sep 17 00:00:00 2001 From: taitep Date: Sun, 28 Dec 2025 12:01:39 +0100 Subject: Remove consts.rs and just use plain types --- src/instructions.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/instructions.rs') diff --git a/src/instructions.rs b/src/instructions.rs index 99df830..2a2f6b0 100644 --- a/src/instructions.rs +++ b/src/instructions.rs @@ -10,7 +10,6 @@ mod macros; mod rvi; use crate::{ - consts::DWord, core::Core, decode::Instruction, exceptions::{ @@ -22,7 +21,7 @@ use crate::{ fn illegal(instr: Instruction) -> Result<(), Exception> { Err(Exception { type_: IllegalInstruction, - value: instr.0 as DWord, + value: instr.0 as u64, }) } -- cgit v1.2.3