diff options
| author | taitep <taitep@taitep.se> | 2025-10-21 14:46:02 +0200 |
|---|---|---|
| committer | taitep <taitep@taitep.se> | 2025-10-21 14:46:02 +0200 |
| commit | 9c4e2d17a2fda196cb5e936ae0693cdc1ee0b2f1 (patch) | |
| tree | 7e18be388a623419305c04bd9b575e06d9f7492c /src/instructions/opcodes.rs | |
| parent | 19568f855eca24f52e7db3bab44676086fbd2ac1 (diff) | |
Add support for addiw and lui
Diffstat (limited to 'src/instructions/opcodes.rs')
| -rw-r--r-- | src/instructions/opcodes.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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; |
