Xilinx MicroBlaze Reference Manual page 264

32-bit soft processor
Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

sext16
Sign Extend Halfword
sext16
1 0 0 1 0 0
0
6
Description
This instruction sign-extends a halfword (16 bits) into a word (32 bits). Bit 16 in rA will be copied
into bits 0-15 of rD. Bits 16-31 in rA will be copied into bits 16-31 of rD.
Pseudocode
(rD)[0:15]
(rD)[16:31]
Registers Altered
rD
Latency
1 cycle
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
rD, rA
rD
rA
1
1
(rA)[16]
(rA)[16:31]
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 1
1
6
3
1
264
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents