
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
Summary of Contents for FR Family
Page 2: ......
Page 3: ...FUJITSU LIMITED FR Family 32 BIT MICROCONTROLLER INSTRUCTION MANUAL ...
Page 4: ......
Page 8: ...iv ...
Page 14: ...x ...
Page 36: ...12 CHAPTER 2 MEMORY ARCHITECTURE ...
Page 284: ...260 CHAPTER 7 DETAILED EXECUTION INSTRUCTIONS ...
Page 301: ...277 INDEX INDEX The index follows on the next page This is listed in alphabetical order ...
Page 314: ......