3
3-24 M32R-FPU Software Manual (Rev.1.01)

BNEBNE

branch instruction

Branch on not equal to

[Mnemonic]

BNE Rsrc1,Rsrc2,pcdisp16

[Function]
Branch
if ( Rsrc1 != Rsrc2 ) PC = ( PC & 0xfffffffc ) + ((( signed short ) pcdisp16) << 2);
[Description]
BNE causes a branch to the specified label when Rsrc1 is not equal to Rsrc2.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]

BNE Rsrc1,Rsrc2,pcdisp16

1011 src1 0001 src2 pcdisp16

INSTRUCTIONS
3.2 Instruction description