Xilinx MicroBlaze Reference Manual page 289

Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

srl
Shift Right Logical
rD, rA
srl
1 0 0 1 0 0
0
6
Description
Shifts logically the contents of register rA, one bit to the right, and places the result in rD. A zero is
shifted in the shift chain and 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]
0
← (
(rD)[1:31]
MSR[C]
(rA)[31]
Registers Altered
rD
MSR[C]
Latency
1 cycle
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
rD
rA
11
rA)[0:30]
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1
16
31
290
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents