Altera Nios II User Manual page 259

Hide thumbs Also See for Nios II:
Table of Contents

Advertisement

Chapter 8: Instruction Set Reference
Instruction Set Reference
orhi
Operation:
Assembler Syntax:
Example:
Description:
Exceptions:
Instruction Type:
Instruction Fields:
31
30
29
28
27
26
25
A
February 2014 Altera Corporation
rB ← rA | (IMM16 : 0x0000)
orhi rB, rA, IMM16
orhi r6, r7, 100
Calculates the bitwise logical OR of rA and (IMM16 : 0x0000) and stores the result in rB.
None
I
A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit signed immediate value
24
23
22
21
20
19
18
17
B
bitwise logical or immediate into high halfword
16
15
14
13
12
11
10
IMM16
9
8
7
6
5
4
3
2
0x34
Nios II Processor Reference Handbook
8–79
1
0

Advertisement

Table of Contents
loading

Table of Contents