Files
trve/src/instructions/opcodes.rs
2025-10-07 20:23:59 +02:00

7 lines
262 B
Rust

//! 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;