Bit Fields
31
30
29
28
27
26
25
24
23
22
21
20
19
18
17
16
0
0
C
0x1c
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0x1c
0
0x3a
8.5.70. nop
Instruction
no operation
Operation
None
Assembler Syntax
nop
Example
nop
Description
nop
does nothing.
Pseudo-instruction
nop
is implemented as
add r0, r0, r0
.
8.5.71. nor
Instruction
bitwise logical nor
Operation
rC ← ~(rA | rB)
Assembler Syntax
nor rC, rA, rB
Example
nor r6, r7, r8
Description
Calculates the bitwise logical NOR of rA and rB and stores
the result in rC.
Exceptions
None
Instruction Type
R
Instruction Fields
A
= Register index of operand rA
B
= Register index of operand rB
C
= Register index of operand rC
3
1
3
0
2
9
2
8
2
7
2
6
2
5
2
4
2
3
2
2
2
1
2
0
1
9
1
8
1
7
1
6
1
5
1
4
1
3
1
2
1
1
1
0
9
8
7
6
5
4
3
2
1
0
A
B
C
0x06
0
0x3a
8.5.72. or
Instruction
bitwise logical or
Operation
rC ← rA | rB
Assembler Syntax
or rC, rA, rB
Example
or r6, r7, r8
Description
Calculates the bitwise logical OR of rA and rB and stores the
result in rC.
continued...
8. Instruction Set Reference
NII-PRG | 2018.04.18
Nios II Processor Reference Guide
217