ECE3221 Computer Organization | |
Department of Electrical and Computer Engineering - University of New Brunswick, Fredericton, NB, Canada | |
Hexadecimal values representing 32-bit instructions for the Altera Nios-II processor are converted to assembly language instructions.
0 | 2 | a | 2 | 1 | 4 | 1 | 4 |
 0000 |  0010 |  1010 |  0010 |  0001 |  0100 |  0001 |  0100 |
  | op |
00000010101000100001010000 | 010100 |
  | 0x14 |
The six bits 0x14 directly describe an I-Type instruction. This instruction is ori
rA | rB | imm16 | op |
00000 | 01010 | 1000100001010000 | 010100 |
r0 | r10 | 0x8850 | ori |
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... |