Instructions - Xilinx MicroBlaze Reference Manual

32-bit soft processor
Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

Instructions

Instruction Summary
All MicroBlaze instructions are 32 bits and are defined as either Type A or Type B. Type A
instructions have up to two source register operands and one destination register operand.
Type B instructions have one source register and a 16-bit immediate operand (which can be
extended to 32 bits by preceding the Type B instruction with an imm instruction). Type B
instructions have a single destination register operand. Instructions are provided in the
following functional categories: arithmetic, logical, branch, load/store, and special.
Table 2-6
lists the MicroBlaze instruction set. Refer to
Architecturefor more information on these instructions.
set nomenclature used in the semantics of each instruction.
Table 2-5: Instruction Set Nomenclature
Symbol
Ra
R0 - R31, General Purpose Register, source operand a
Rb
R0 - R31, General Purpose Register, source operand b
Rd
R0 - R31, General Purpose Register, destination operand
SPR[x]
Special Purpose Register number x
MSR
Machine Status Register = SPR[1]
ESR
Exception Status Register = SPR[5]
EAR
Exception Address Register = SPR[3]
FSR
Floating Point Unit Status Register = SPR[7]
PVRx
Processor Version Register, where x is the register number = SPR[8192 + x]
BTR
Branch Target Register = SPR[11]
PC
Execute stage Program Counter = SPR[0]
x[y]
Bit y of register x
x[y:z]
Bit range y to z of register x
x
Bit inverted value of register x
Imm
16 bit immediate value
Immx
x bit immediate value
FSLx
4 bit AXI4-Stream port designator, where x is the port number
C
Carry flag, MSR[29]
Sa
Special Purpose Register, source operand
Sd
Special Purpose Register, destination operand
s(x)
Sign extend argument x to 32-bit value
*Addr
Memory contents at location Addr (data-size aligned)
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
Chapter 5, MicroBlaze Instruction Set
Table 2-5
Description
www.xilinx.com
Chapter 2: MicroBlaze Architecture
describes the instruction
Send Feedback
11

Advertisement

Table of Contents
loading

Table of Contents