Xilinx EDK 8.2i manual Read MSR and clear bits in MSR Msrclr RD, Imm

Models: EDK 8.2i

1 148
Download 148 pages 28.91 Kb
Page 116
Image 116

R

Chapter 4: MicroBlaze Instruction Set Architecture

msrclr

Read MSR and clear bits in MSR

msrclr

rD, Imm

1 0 0 1 0 1

rD

0 0 0 0 1

0 0

Imm14

0

6

11

16 17 18

31

Description

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

Bit positions in the IMM value that are 1 are cleared 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

MSRCLR 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 cleared.

116

www.xilinx.com

MicroBlaze Processor Reference Guide

 

1-800-255-7778

UG081 (v6.0) June 1, 2006

Page 116
Image 116
Xilinx EDK 8.2i manual Read MSR and clear bits in MSR Msrclr RD, Imm