summaryrefslogtreecommitdiff
path: root/src/instructions/opcodes.rs
blob: 33f824decacd9ec3aa2480485fcc16e2bd2f9d6d (plain)
1
2
3
4
5
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;