Xilinx MicroBlaze Reference Manual page 269

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

Advertisement

sra
Shift Right Arithmetic
sra
1 0 0 1 0 0
0
6
Description
Shifts arithmetically the contents of register rA, one bit to the right, and places the result in rD.
The most significant bit of rA (that is, the sign bit) placed in the most significant bit of rD. The
least significant bit coming out of the shift chain is placed in the Carry flag.
Pseudocode
(rD)[0]
(rD)[1:31]
MSR[C]
Registers Altered
rD
MSR[C]
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)[0]
(rA)[0:30]
(rA)[31]
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1
1
6
3
1
269
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents