Xilinx MicroBlaze Reference Manual page 12

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

Advertisement

Table 2-5: Instruction Set Nomenclature (Cont'd)
Symbol
:=
Assignment operator
=
Equality comparison
!=
Inequality comparison
>
Greater than comparison
>=
Greater than or equal comparison
<
Less than comparison
<=
Less than or equal comparison
+
Arithmetic add
*
Arithmetic multiply
/
Arithmetic divide
>> x
Bit shift right x bits
<< x
Bit shift left x bits
and
Logic AND
or
Logic OR
xor
Logic exclusive OR
op1 if cond else op2 Perform op1 if condition cond is true, else perform op2
&
Concatenate. E.g. "0000100 & Imm7" is the concatenation of the fixed field "0000100" and
a 7 bit immediate value.
signed
Operation performed on signed integer data type. All arithmetic operations are performed
on signed word operands, unless otherwise specified
unsigned
Operation performed on unsigned integer data type
float
Operation performed on floating point data type
clz(r)
Count leading zeros
Table 2-6: MicroBlaze Instruction Set Summary
Type A
Type B
ADD Rd,Ra,Rb
000000
RSUB Rd,Ra,Rb
000001
ADDC Rd,Ra,Rb
000010
RSUBC Rd,Ra,Rb
000011
ADDK Rd,Ra,Rb
000100
RSUBK Rd,Ra,Rb
000101
CMP Rd,Ra,Rb
000101
MicroBlaze Processor Reference Guide
UG984 (v2016.2) June 8, 2016
UG984 (v2016.1) April 6, 2016
0-5
6-10 11-15 16-20
0-5
6-10 11-15
Rd
Ra
Rb
Rd
Ra
Rb
Rd
Ra
Rb
Rd
Ra
Rb
Rd
Ra
Rb
Rd
Ra
Rb
Rd
Ra
Rb
www.xilinx.com
Chapter 2: MicroBlaze Architecture
Description
21-31
16-31
00000000000 Rd := Rb + Ra
00000000000 Rd := Rb + Ra + 1
00000000000 Rd := Rb + Ra + C
00000000000 Rd := Rb + Ra + C
00000000000 Rd := Rb + Ra
00000000000 Rd := Rb + Ra + 1
00000000001 Rd := Rb + Ra + 1
Rd[0] := 0 if (Rb >= Ra) else
Rd[0] := 1
Semantics
12
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents