Fujitsu CM71-00101-5E ユーザーズマニュアル
![Fujitsu](https://files.manualsbrain.com/attachments/6c4642b33d2edbd09f94719c20a133aa0e862902/common/fit/150/50/80a45702a21fefb1823bce6851e87db450dccf7792cb572ebc8a90330a68/brand_logo.png)
244
CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS
7.127
EXTSH (Sign Extend from Byte Data to Word Data)
Extends the half-word data indicated by "Ri" to word data as a signed binary value.
■
EXTSH (Sign Extend from Byte Data to Word Data)
Assembler format:
EXTSH Ri
Operation:
exts (Ri)
→
Ri (half-word
→
word)
Flag change:
N, Z, V, and C: Unchanged
Execution cycles:
1 cycle
Instruction format:
Example:
EXTSH R1
N
Z
V
C
–
–
–
–
MSB
LSB
1
0
0
1
0
1
1
1
1
0
1
0
Ri
R1
0 0 0 0 A B C D
R1
F F F F A B C D
Before execution
After execution
Instruction bit pattern : 1001 0111 1010 0001