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

BCBC

[Mnemonic]
(1) BC pcdisp8
(2) BC pcdisp24
[Function]
Branch
(1) if ( C==1 ) PC = ( PC & 0xfffffffc ) + ( ( ( signed char ) pcdisp8 ) << 2 );
(2) if ( C==1 ) PC = ( PC & 0xfffffffc ) + ( sign_extend ( pcdisp24 ) << 2 );
where
#define sign_extend(x) ( ( ( signed ) ( (x)<< 8 ) ) >>8 )
[Description]
BC causes a branch to the specified label when the condition bit (C) is 1.
There are two instruction formats; which allows software, such as an assembler, to decide on
the better format.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
11001111
11000111
BC pcdisp24
BC pcdisp8
pcdisp8
pcdisp24
INSTRUCTIONS
3.2 Instruction description
branch instruction

Bit clear

M32R-FPU Extended Instruction