Instructions - Xilinx MicroBlaze Reference Manual

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. The
following table describes the instruction set nomenclature used in the semantics of each
instruction.
Table 2-5
Instruction Set
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
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
lists the MicroBlaze instruction set. See
Architecture, for more information on these instructions.
www.xilinx.com
Chapter 2: MicroBlaze Architecture
Chapter 5, MicroBlaze
Description
12
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents