FIRST INSTRUCTION WORKING

This commit is contained in:
2025-10-07 20:23:59 +02:00
parent 361b36fbd1
commit ee5f5a2ec4
4 changed files with 72 additions and 10 deletions

View File

@@ -0,0 +1,6 @@
//! Includes opcodes, funct3 values, and match/mask values.
//! 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 FUNCT3_ADDI: u8 = 0x0;