3
3-112
M32R-FPU Software Manual (Rev.1.01)
STH
STH
load/store instruction
Store halfword
[M32R-FPU Extended Mnemonic]
[Mnemonic]
(1) STH Rsrc1,@Rsrc2
(2) STH Rsrc1,@Rsrc2+
[M32R-FPU Extended Mnemonic]
(3) STH Rsrc1,@(disp16,Rsrc2)
[Function]
Store
(1) * ( signed short *) Rsrc2 = Rsrc1;
(2) * ( signed short *) Rsrc2 = Rsrc1, Rsrc2 + = 2 ;
(3) * ( signed short *) ( Rsrc2 + ( signed short ) disp16 ) = Rsrc1;
[Description]
(1) STH stores the least significant halfword of Rsrc1 in the memory at the address specified
by
Rsrc2.
(2) STH stores the LSB halfword of Rsrc1 to the memory of the address specified by Rsrc2,
and
then increments Rsrc2 by 2.
(3) STH stores the least significant halfword of Rsrc1 in the memory at the address specified
by
Rsrc combined with the 16-bit displacement. The displacement value is sign-ex-
tended to 32
bits before the address calculation.
The condition bit (C) is unchanged.
[EIT occurrence]
Address exception (AE)
[Encoding]
src1
1010
src1
0010
0010
src2
0010
src2
disp16
STH Rsrc1,@Rsrc2
STH Rsrc1,@(disp16,Rsrc2)
INSTRUCTIONS
3.2 Instruction description
src1
0010
0011
src2
STH Rsrc1,@Rsrc2+
Содержание M32R-FPU
Страница 8: ...M32R FPU Software Manual Rev 1 01 This page left blank intentionally...
Страница 25: ...CHAPTER 2 INSTRUCTION SET 2 1 Instruction set overview 2 2 Instruction format...
Страница 39: ...CHAPTER 3 INSTRUCTIONS 3 1 Conventions for instruction description 3 2 Instruction description...
Страница 189: ...INDEX...
Страница 194: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M32R FPU REJ09B0112 0101Z Software Manual...