Excalibur electronic A-MNL-NIOSPROG-01.1 用户手册

下载
页码 122
Altera Corporation
71
32323232
32-Bit Instruction Set
2
3
2
-B
it In
st
ru
ctio
n
Se
t
MUL
Multiply
Operation:
R0
←  (R0 & 0x0000.ffff) x (RA & 0x0000.ffff)
Assembler  Syntax:
MUL %rA
Example:
MUL %i5
Description:
Multiply the low half-words of %r0 and %rA together, and put the 32 bit result into 
%r0. This performs an integer multiplication of two signed 16-bit numbers to 
produce a 32-bit signed result, or multiplication of two unsigned 16-bit numbers 
to produce an unsigned 32-bit result.
Condition Codes:
Flags: Unaffected
Instruction Format:
Rw
Instruction Fields:
A = Register index of operand RA
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
1
1
1
0
1
0
1
A
N
V
Z
C