Xilinx MicroBlaze Reference Manual page 13

Hide thumbs Also See for MicroBlaze:
Table of Contents

Advertisement

Table 2-5: Instruction Set Nomenclature (Cont'd)
Symbol
*Addr
Memory contents at location Addr (data-size aligned)
:=
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
&
Concatenate. For example "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
MicroBlaze Processor Reference Guide
UG984 (v2018.2) June 21, 2018
op1 if condition cond is true, else perform op2
0-5
6-10
11-15 16-20
0-5
6-10
11-15
Rd
Ra
Rd
Ra
Rd
Ra
Rd
Ra
Rd
Ra
Rd
Ra
www.xilinx.com
Chapter 2: MicroBlaze Architecture
Description
21-31
16-31
Rb
00000000000 Rd := Rb + Ra
Rb
00000000000 Rd := Rb + Ra + 1
Rb
00000000000 Rd := Rb + Ra + C
Rb
00000000000 Rd := Rb + Ra + C
Rb
00000000000 Rd := Rb + Ra
Rb
00000000000 Rd := Rb + Ra + 1
Semantics
13
Send Feedback

Advertisement

Table of Contents
loading

Table of Contents