Subx – Renesas M32R-FPU User Manual

Page 153

Advertising
background image

3

3-115

M32R-FPU Software Manual (Rev.1.01)

SUBX

SUBX

arithmetic operation instruction

Subtract with borrow

[Mnemonic]

SUBX Rdest,Rsrc

[Function]

Subtract

Rdest = ( unsigned ) Rdest - ( unsigned ) Rsrc - C;

C = borrow ? 1 : 0;

[Description]

SUBX subtracts Rsrc and C from Rdest and puts the result in Rdest.

The condition bit (C) is set when the subtraction result cannot be represented by a 32-bit

unsigned integer; otherwise it is cleared.

[EIT occurrence]

None

[Encoding]

dest

0000

0001

src

SUBX Rdest,Rsrc

INSTRUCTIONS

3.2 Instruction description

Advertising