Specifications
Table Of Contents
- Nios II Processor Reference Handbook
- Contents
- Chapter Revision Dates
- About This Handbook
- Section I. Nios II Processor
- 1. Introduction
- 2. Processor Architecture
- 3. Programming Model
- Introduction
- General- Purpose Registers
- Control Registers
- Operating Modes
- Exception Processing
- Memory and Peripheral Access
- Instruction Set Categories
- Referenced Documents
- Document Revision History
- 4. Instantiating the Nios II Processor in SOPC Builder
- Section II. Appendices
- 5. Nios II Core Implementation Details
- Introduction
- Device Family Support
- Nios II/f Core
- Nios II/s Core
- Nios II/e Core
- Referenced Documents
- Document Revision History
- 6. Nios II Processor Revision History
- 7. Application Binary Interface
- 8. Instruction Set Reference
- Introduction
- Word Formats
- Instruction Opcodes
- Assembler Pseudo- instructions
- Assembler Macros
- Instruction Set Reference
- add
- addi
- and
- andhi
- andi
- beq
- bge
- bgeu
- bgt
- bgtu
- ble
- bleu
- blt
- bltu
- bne
- br
- break
- bret
- call
- callr
- cmpeq
- cmpeqi
- cmpge
- cmpgei
- cmpgeu
- cmpgeui
- cmpgt
- cmpgti
- cmpgtu
- cmpgtui
- cmple
- cmplei
- cmpleu
- cmpleui
- cmplt
- cmplti
- cmpltu
- cmpltui
- cmpne
- cmpnei
- custom
- div
- divu
- eret
- flushd
- flushda
- flushi
- flushp
- initd
- initi
- jmp
- jmpi
- ldb / ldbio
- ldbu / ldbuio
- ldh / ldhio
- ldhu / ldhuio
- ldw / ldwio
- mov
- movhi
- movi
- movia
- movui
- mul
- muli
- mulxss
- mulxsu
- mulxuu
- nextpc
- nop
- nor
- or
- orhi
- ori
- rdctl
- ret
- rol
- roli
- ror
- sll
- slli
- sra
- srai
- srl
- srli
- stb / stbio
- sth / sthio
- stw / stwio
- sub
- subi
- sync
- trap
- wrctl
- xor
- xorhi
- xori
- Referenced Documents
- Document Revision History

vi Altera Corporation
Nios II Processor Reference Handbook
Contents
Instruction Performance ................................................................................................................ 5–17
Exception Handling ....................................................................................................................... 5–18
JTAG Debug Module ..................................................................................................................... 5–18
Unsupported Features ................................................................................................................... 5–18
Nios II/e Core ...................................................................................................................................... 5–19
Overview ......................................................................................................................................... 5–19
Arithmetic Logic Unit .................................................................................................................... 5–19
Memory Access ............................................................................................................................... 5–19
Instruction Execution Stages ......................................................................................................... 5–20
Instruction Performance ................................................................................................................ 5–20
Exception Handling ....................................................................................................................... 5–21
JTAG Debug Module ..................................................................................................................... 5–21
Unsupported Features ................................................................................................................... 5–21
Referenced Documents ....................................................................................................................... 5–21
Document Revision History ............................................................................................................... 5–22
Chapter 6. Nios II Processor Revision History
Introduction ............................................................................................................................................ 6–1
Nios II Versions ...................................................................................................................................... 6–1
Architecture Revisions .......................................................................................................................... 6–2
Core Revisions ........................................................................................................................................ 6–3
Nios II/f Core ................................................................................................................................... 6–3
Nios II/s Core ................................................................................................................................... 6–5
Nios II/e Core ................................................................................................................................... 6–6
JTAG Debug Module Revisions .......................................................................................................... 6–6
Referenced Documents ......................................................................................................................... 6–7
Document Revision History ................................................................................................................. 6–8
Chapter 7. Application Binary Interface
Data Types .............................................................................................................................................. 7–1
Memory Alignment ............................................................................................................................... 7–2
Register Usage ........................................................................................................................................ 7–2
Stacks ....................................................................................................................................................... 7–3
Frame Pointer Elimination .............................................................................................................. 7–4
Call Saved Registers ......................................................................................................................... 7–4
Further Examples of Stacks ............................................................................................................. 7–5
Function Prologs ............................................................................................................................... 7–6
Arguments and Return Values ............................................................................................................ 7–8
Arguments ......................................................................................................................................... 7–8
Return Values ................................................................................................................................... 7–8
Referenced Documents ......................................................................................................................... 7–9
Document Revision History ............................................................................................................... 7–10
Chapter 8. Instruction Set Reference
Introduction ............................................................................................................................................ 8–1
Word Formats ........................................................................................................................................ 8–1
I-Type ................................................................................................................................................. 8–1