FIRST INSTRUCTION WORKING
This commit is contained in:
6
src/instructions/opcodes.rs
Normal file
6
src/instructions/opcodes.rs
Normal 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;
|
||||
Reference in New Issue
Block a user