IPR-NIOS Altera, IPR-NIOS Datasheet - Page 198

no-image

IPR-NIOS

Manufacturer Part Number
IPR-NIOS
Description
IP NIOS II MEGACORE RENEW
Manufacturer
Altera
Type
MegaCorer
Datasheet

Specifications of IPR-NIOS

License
Renewal License
Lead Free Status / RoHS Status
Not applicable / Not applicable
8–12
beq
Nios II Processor Reference Handbook
Operation:
Assembler Syntax:
Example:
Description:
Exceptions:
Instruction Type:
Instruction Fields:
31
30
29
A
28
27
26
25
24
B
if (rA == rB)
then PC ← PC + 4 + σ (IMM16)
else PC ← PC + 4
beq rA, rB, label
beq r6, r7, label
If rA == rB, then beq transfers program control to the instruction at label. In the instruction
encoding, the offset given by IMM16 is treated as a signed number of bytes relative to the
instruction immediately following beq. The two least-significant bits of IMM16 are always zero,
because instruction addresses must be word-aligned.
Misaligned destination address
I
A = Register index of operand rA
B = Register index of operand rB
IMM16 = 16-bit signed immediate value
23
22
21
20
19
18
17
16
15
IMM16
14
13
12
11
10
9
8
Chapter 8: Instruction Set Reference
December 2010 Altera Corporation
7
6
5
branch if equal
Instruction Set Reference
4
0x26
3
2
1
0

Related parts for IPR-NIOS