diff options
| author | taitep <taitep@taitep.se> | 2025-12-28 12:01:39 +0100 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-12-28 12:01:39 +0100 |
| commit | 9a9bef7dd7dce7d5c10b7cf49a42478ad85829ac (patch) | |
| tree | ea832693678899e97aecf12bd620f0123b6ce3d2 /src/instructions.rs | |
| parent | 8024af6b1348b5f47fabe5a1949de54607a33888 (diff) | |
Remove consts.rs and just use plain types
Diffstat (limited to 'src/instructions.rs')
| -rw-r--r-- | src/instructions.rs | 3 |
1 files changed, 1 insertions, 2 deletions
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, }) } |
