UNB ECE3221 Computer Organization
Department of Electrical and Computer Engineering - University of New Brunswick, Fredericton, NB, Canada

Nios-II Disassembler

Hexadecimal values representing 32-bit instructions for the Altera Nios-II processor are converted to assembly language instructions.


Hexadecimal Instruction

Enter a 32-bit value as 8 hex digits.
NIOS-II DISASSEMBLER
32-bit (hex):

Details  Option 2  Option 3

Example 1 | Example 2 | Example 3  

Binary Instruction

Express the instruction in binary.
0 2 a 2 1 4 1 4
 0000  0010  1010  0010  0001  0100  0001  0100 

Binary Instruction

Examine the 6 least significant bits
  op
00000010101000100001010000   010100
  0x14

The six bits 0x14 directly describe an I-Type instruction. This instruction is ori


Closer Examination

rA   rB   imm16   op  
00000   01010   1000100001010000   010100  
r0   r10   0x8850   ori  

Final Result

02A21414   ori r10,zero,0x8850

2024-04-26 00:02:10 ADT
Last Updated: 2016-10-15
Richard Tervo [ tervo@unb.ca ] Back to the course homepage...