Instructions

msrset

 

Read MSR and set bits in MSR

 

 

 

 

 

 

 

 

msrset

 

rD, Imm

 

 

 

 

 

0 0 1 0 1

 

rD

 

0 0 0 0 0

 

0 0

 

Imm14

 

1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

 

6

11

16

18

Description

R

31

Copies the contents of the special purpose register MSR into register rD.

Bit positions in the IMM value that are 1 are set in the MSR. Bit positions that are 0 in the IMM value are left untouched.

Pseudocode

(rD) (MSR)

(MSR) (MSR) (IMM)

Registers Altered

rD

MSR

Latency

1 cycle

Note

MSRSET will affect some MSR bits immediately (e.g. Carry) while the remaining bits will take effect one cycle after the instruction has been executed.

The immediate values has to be less than 214. Only bits 18 to 31 of the MSR can be set.

MicroBlaze Processor Reference Guide

www.xilinx.com

117

UG081 (v6.0) June 1, 2006

1-800-255-7778

 

Page 117
Image 117
Xilinx EDK 8.2i manual Msrset RD, Imm