Renesas M32R-FPU User Manual

Page of 192
3
3-23
M32R-FPU Software Manual (Rev.1.01)
BNC
BNC
branch instruction
Branch on not C-bit
[Mnemonic]
(1)
 
 BNC  pcdisp8
(2)
 
 BNC  pcdisp24
[Function]
Branch
(1)  if (C==0)  PC = ( PC & 0xfffffffc ) + ( ( ( signed char ) pcdisp8 ) << 2 );
(2)  if (C==0)  PC = ( PC & 0xfffffffc ) + ( sign_extend ( pcdisp24 ) << 2 );
where
#define  sign_extend(x) ( ( ( signed ) ( (x)<< 8 ) ) >>8 )
[Description]
BNC branches to the specified label when the condition bit (C) is 0.
There are two instruction formats; this allows software, such as an assembler, to decide on the
better format.
The condition bit (C) is unchanged.
[EIT occurrence]
None
[Encoding]
1101
1111
1101
0111
BNC  pcdisp24
BNC  pcdisp8
pcdisp8
pcdisp24
INSTRUCTIONS
3.2 Instruction description