Motorola MPC823e Reference Manual page 1219

Microprocessor for mobile computing
Table of Contents

Advertisement

extsh
Assembler Syntax
BIT
0
1
2
FIELD
31
BIT
16
17
18
FIELD
00000
Definition
Operation
Description
MOTOROLA
extsh
rA,rS (Rc = 0)
extsh.
rA,rS (Rc = 1)
3
4
5
6
7
19
20
21
22
23
Extend Sign Half Word
S ← rS[16]
rA[16-31] ← rS[16-31]
rA[0-15] ← (16)S
The contents of rS[16-31] are placed into rA[16-31]. Bit 16 of rS
is placed into rA[0–15].
Other registers altered:
Condition Register (CR0 field):
Affected: LT, GT, EQ, SO (if Rc = 1)
POWERPC ARCHITECTURE
LEVEL
UISA
MPC823e REFERENCE MANUAL
MPC823e Instruction Set—extsh
8
9
10
11
12
S
24
25
26
27
28
922
SUPERVISOR
OPTIONAL
LEVEL
13
14
15
A
29
30
31
RC
FORM
X
B-61

Advertisement

Table of Contents
loading

Table of Contents