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

下载
页码 122
Altera Corporation
35
32323232
32-Bit Instruction Set
2
3
2
-B
it In
st
ru
ctio
n
Se
t
ADD
Add Without Carry
Operation:
RA
← RA + RB
Assembler Syntax:
ADD %rA,%rB
Example:
ADD %L3,%g0 ; ADD %g0 to %L3
Description:
Adds the contents of register A to register B and stores the result in register A.
Condition Codes:
Flags:
N: Result bit 31
V: Signed-arithmetic overflow
Z: Set if result is zero; cleared otherwise
C: Carry-out of addition
Instruction Format:
RR
Instruction Fields:
A = Register index of RA operand
B = Register index of RB operand
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
B
A
N
V
Z
C