summaryrefslogtreecommitdiff
path: root/src/instructions/opcodes.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-21 12:07:12 +0100
committertaitep <taitep@taitep.se>2025-12-21 12:07:12 +0100
commitac9506a1a785495a8f5f299ca90f948cce28ecc7 (patch)
treea3517406fc74edca336249601cc89b65477f5d2e /src/instructions/opcodes.rs
parente2d521bbe73708da64662478155630d634e00932 (diff)
(BIG CHANGE) Switch instruction identification/execution to use a plain match tree, should improve performance by quite a bit
Diffstat (limited to 'src/instructions/opcodes.rs')
-rw-r--r--src/instructions/opcodes.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/instructions/opcodes.rs b/src/instructions/opcodes.rs
deleted file mode 100644
index b5613f9..0000000
--- a/src/instructions/opcodes.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-//! Opcodes (unless compressed) have the last 2 bits stripped off as they are always 1s for non-compressed instructions.
-
-pub(super) const OP_IMM: u8 = 0b00100;
-pub(super) const OP_IMM_32: u8 = 0b00110;
-
-pub(super) const STORE: u8 = 0b01000;