Xilinx MicroBlaze Reference Manual page 253

Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

mfs
Move From Special Purpose Register
rD, rS
mfs
mfse
rD, rS
1 0 0 1 0 1
0
6
Description
Copies the contents of the special purpose register rS into register rD. The special purpose registers
TLBLO and TLBHI are used to copy the contents of the Unified TLB entry indexed by TLBX.
If the E bit is set, the extended part of the special register is moved. The EAR, PVR[8] and PVR[9}
registers have extended parts when extended addressing is enabled (C_ADDR_SIZE > 32), and the
TLBLO, PVR[6] and PVR[7] registers have extended parts when Physical Address Extension (PAE) is
enabled.
Pseudocode
if E = 1 then
switch (rS):
case 0x0003 : (rD)
case 0x1003 : (rD)
case 0x2006 : (rD)
case 0x2007 : (rD)
case 0x2008 : (rD)
case 0x2009 : (rD)
default : (rD)
else
switch (rS):
case 0x0000 : (rD)
case 0x0001 : (rD)
case 0x0003 : (rD)
case 0x0005 : (rD)
case 0x0007 : (rD)
case 0x000B : (rD)
case 0x000D : (rD)
case 0x0800 : (rD)
case 0x0802 : (rD)
case 0x1000 : (rD)
case 0x1001 : (rD)
case 0x1002 : (rD)
case 0x1003 : (rD)
case 0x1004 : (rD)
case 0x200x : (rD)
default : (rD)
Registers Altered
rD
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
0 E 0 0 0 1 0
rD
11
EAR[0:C_ADDR_SIZE-32-1]
TLBLO[0:C_ADDR_SIZE-32-1]
PVR6[0:C_ADDR_SIZE-32-1]
PVR7[0:C_ADDR_SIZE-32-1]
PVR8[0:C_ADDR_SIZE-32-1]
PVR9[0:C_ADDR_SIZE-32-1]
Undefined
PC
MSR
EAR[C_ADDR_SIZE-32:C_ADDR_SIZE-1]
ESR
FSR
BTR
EDR
SLR
SHR
PID
ZPR
TLBX
TLBLO[C_ADDR_SIZE-32:C_ADDR_SIZE-1]
TLBHI
PVRx[C_ADDR_SIZE-32:C_ADDR_SIZE-1] (where x = 0 to 12)
Undefined
www.xilinx.com
Chapter 5: MicroBlaze Instruction Set Architecture
16
18
rS
31
254
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents