Renesas M32R-FPU Manual Do Utilizador

Página de 192
3
3-16
M32R-FPU Software Manual (Rev.1.01)
BEQ
BEQ
branch instruction
Branch on equal to
[Mnemonic]
BEQ  Rsrc1,Rsrc2,pcdisp16
[Function]
Branch
if ( Rsrc1 == Rsrc2 )   PC = ( PC & 0xfffffffc ) + ( ( ( signed short ) pcdisp16 ) << 2);
[Description]
BEQ causes a branch to the specified label when Rsrc1 is equal to Rsrc2.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
BEQ  Rsrc1,Rsrc2,pcdisp16
1011
src1
0000
src2
pcdisp16
INSTRUCTIONS
3.2 Instruction description