Bgtz – Renesas M32R-FPU User Manual

Page 57

Advertising
background image

3

3-19

M32R-FPU Software Manual (Rev.1.01)

BGTZ

BGTZ

branch instruction

Branch on greater than zero

[Mnemonic]

BGTZ Rsrc,pcdisp16

[Function]

Branch

if ((signed) Rsrc > 0) PC = (PC & 0xfffffffc) + ( ( (signed short) pcdisp16 ) << 2);

[Description]

BGTZ causes a branch to the specified label when Rsrc treated as a signed 32-bit value is

greater than zero.

The condition bit (C) is unchanged.

[EIT occurrence]

None

[Encoding]

BGTZ Rsrc,pcdisp16

1011

0000

1101

src

pcdisp16

INSTRUCTIONS

3.2 Instruction description

Advertising