Renesas M32R-FPU User Manual

Page 68

Advertising
background image

3

3-30

M32R-FPU Software Manual (Rev.1.01)

CMP

[Mnemonic]

CMP Rsrc1,Rsrc2

[Function]

Compare

C = ( ( signed ) Rsrc1 < ( signed ) Rsrc2 ) ? 1:0;

[Description]

The condition bit (C) is set to 1 when Rsrc1 is less than Rsrc2. The operands are treated as

signed 32-bit values.

[EIT occurrence]

None

[Encoding]

src1

0000

CMP Rsrc1,Rsrc2

CMP

0100

compare instruction

Compare

src2

INSTRUCTIONS

3.2 Instruction description

Advertising