summaryrefslogtreecommitdiff
path: root/src/instructions/opcodes.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-10-10 19:01:04 +0200
committertaitep <taitep@taitep.se>2025-10-10 19:01:04 +0200
commit6bd31e73fb910d59066adeb11b9d85411e2c743e (patch)
tree01b5cf8bebff222b3e245473fc3f06f2f5bf590a /src/instructions/opcodes.rs
parentbf5562df5467c909d32d78202fd9e62d27e935fd (diff)
some debugging stuff and SECOND OPCODE!
Diffstat (limited to 'src/instructions/opcodes.rs')
-rw-r--r--src/instructions/opcodes.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/instructions/opcodes.rs b/src/instructions/opcodes.rs
index 33f824d..04059a2 100644
--- a/src/instructions/opcodes.rs
+++ b/src/instructions/opcodes.rs
@@ -3,4 +3,8 @@
pub(super) const OP_IMM: u8 = 0b00100;
-pub(super) const FUNCT3_ADDI: u8 = 0x0;
+pub(super) const FUNCT3_ADDI: u8 = 0b000;
+
+pub(super) const STORE: u8 = 0b01000;
+
+pub(super) const FUNCT3_SD: u8 = 0b011;