Xilinx EDK 8.2i manual Shift Right with Carry Src RD, rA

Models: EDK 8.2i

1 148
Download 148 pages 28.91 Kb
Page 140
Image 140

R

Chapter 4: MicroBlaze Instruction Set Architecture

src

Shift Right with Carry

src

rD, rA

1 0 0 1 0 0

rD

rA

0

0

0

0

0

0

0

0

0

0

1

0

0

0

0

1

0

6

11

16

31

Description

Shifts the contents of register rA, one bit to the right, and places the result in rD. The Carry flag 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] MSR[C] (rD)[1:31] ← ( rA)[0:30] MSR[C] (rA)[31]

Registers Altered

rD

MSR[C]

Latency

1 cycle

140

www.xilinx.com

MicroBlaze Processor Reference Guide

 

1-800-255-7778

UG081 (v6.0) June 1, 2006

Page 140
Image 140
Xilinx EDK 8.2i manual Shift Right with Carry Src RD, rA