bne

Branch to PC + imm if the value in register xs1 is not equal to the value in register xs2. Raise a `MisalignedAddress` exception if PC + imm is misaligned.

Synopsis

bne xs1, xs2, imm

Encoding

Type:

0678111214151920242530311100011immimm001xs1xs2immimm
funct3: 001
opcode: 1100011

RISC-V Instruction Encoder/Decoder

open bne in rvcodecjs

Availability