Specifications

ABI for Linux Systems...............................................................................................................................7-12
Linux Toolchain Relocation Information.................................................................................. 7-12
Linux Function Calls..................................................................................................................... 7-16
Linux Operating System Call Interface.......................................................................................7-16
Linux Process Initialization..........................................................................................................7-17
Linux Position-Independent Code..............................................................................................7-17
Linux Program Loading and Dynamic Linking........................................................................ 7-20
Linux Conventions........................................................................................................................ 7-22
Development Environment..........................................................................................................7-23
Document Revision History.....................................................................................................................7-23
Instruction Set Reference....................................................................................8-1
Word Formats.............................................................................................................................................. 8-1
I-Type................................................................................................................................................ 8-1
R-Type............................................................................................................................................... 8-1
J-Type.................................................................................................................................................8-2
Instruction Opcodes....................................................................................................................................8-2
Assembler Pseudo-Instructions.................................................................................................................8-4
Assembler Macros........................................................................................................................................8-5
Instruction Set Reference............................................................................................................................8-5
add .....................................................................................................................................................8-6
addi ....................................................................................................................................................8-8
and ...................................................................................................................................................8-10
andhi ...............................................................................................................................................8-10
andi ................................................................................................................................................. 8-11
beq ...................................................................................................................................................8-12
bge ...................................................................................................................................................8-12
bgeu..................................................................................................................................................8-13
bgt.....................................................................................................................................................8-14
bgtu ................................................................................................................................................. 8-14
ble ....................................................................................................................................................8-15
bleu ..................................................................................................................................................8-15
blt .....................................................................................................................................................8-15
bltu................................................................................................................................................... 8-16
bne ...................................................................................................................................................8-17
br ..................................................................................................................................................... 8-18
break ............................................................................................................................................... 8-18
bret .................................................................................................................................................. 8-19
call ................................................................................................................................................... 8-20
callr ..................................................................................................................................................8-21
cmpeq ............................................................................................................................................. 8-21
cmpeqi ............................................................................................................................................ 8-22
cmpge ..............................................................................................................................................8-23
cmpgei ............................................................................................................................................ 8-24
cmpgeu ........................................................................................................................................... 8-24
cmpgeui ..........................................................................................................................................8-25
cmpgt ..............................................................................................................................................8-26
cmpgti .............................................................................................................................................8-26
TOC-6
Altera Corporation