Instructions

sh

Store Halfword

 

 

sh

rD, rA, rB

R

1 1 0 1 0 1

rD

rA

rB

0 0 0 0 0 0 0 0 0 0 0

0

6

11

16

21

31

Description

Stores the contents of the least significant halfword of register rD, into the halfword aligned memory location that results from adding the contents of registers rA and rB.

Pseudocode

Addr (rA) + (rB)

Addr[31] 0

Mem(Addr) (rD)[16:31]

Registers Altered

ESR [S]

Latency

1 cycle

MicroBlaze Processor Reference Guide

www.xilinx.com

137

UG081 (v6.0) June 1, 2006

1-800-255-7778

 

Page 137
Image 137
Xilinx EDK 8.2i manual Registers Altered, Instructions Store Halfword RD, rA, rB