blob: 04059a26e62fb62688b29b1d34577b4bd87d2a76 (
plain)
1
2
3
4
5
6
7
8
9
10
|
//! 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 = 0b000;
pub(super) const STORE: u8 = 0b01000;
pub(super) const FUNCT3_SD: u8 = 0b011;
|