risc-v

Definition

andi (RISC-V)

Performs a bitwise AND operation between the value of register b and a sign-extended 12-bit immediate imm, storing the result in register a.

andi a, b, imm

Equivalent C code:

a = b & imm