eeric_core/rv_core/instruction/executor/base/
andi.rs

1use crate::rv_core::instruction::executor::prelude::*;
2
3pub fn andi(I { rd, rs1, imm12 }: I, x: &mut IntegerRegisters) {
4    x[rd] = x[rs1] & imm12 as u64;
5}