Renesas M32R-FPU User Manual

Page 149

Advertising
background image

3

3-111

M32R-FPU Software Manual (Rev.1.01)

STB

STB

load/store instruction

Store byte

[Mnemonic]

(1) STB Rsrc1,@Rsrc2

(2) STB Rsrc1,@(disp16,Rsrc2)

[Function]

Store

(1) * ( char *) Rsrc2 = Rsrc1;

(2) * ( char *) ( Rsrc2 + ( signed short ) disp16 ) = Rsrc1;

[Description]

(1) STB stores the least significant byte of Rsrc1 in the memory at the address specified by

Rsrc2.

(2) STB stores the least significant byte of Rsrc1 in the memory at the address specified by

Rsrc

combined with the 16-bit displacement.

The displacement value is sign-extended to 32 bits before the address calculation.

The condition bit (C) is unchanged.

[EIT occurrence]

None

[Encoding]

src1

1010

src1

0010

0000

src2

0000

src2

disp16

STB Rsrc1,@Rsrc2

STB Rsrc1,@(disp16,Rsrc2)

INSTRUCTIONS

3.2 Instruction description

Advertising