From 9c4e2d17a2fda196cb5e936ae0693cdc1ee0b2f1 Mon Sep 17 00:00:00 2001 From: taitep Date: Tue, 21 Oct 2025 14:46:02 +0200 Subject: Add support for addiw and lui --- src/instructions/opcodes.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/instructions/opcodes.rs') diff --git a/src/instructions/opcodes.rs b/src/instructions/opcodes.rs index 7115820..b5613f9 100644 --- a/src/instructions/opcodes.rs +++ b/src/instructions/opcodes.rs @@ -1,5 +1,6 @@ //! 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; -- cgit v1.2.3