Reputation: 213
Apparently, the NIOS instruction jmpi 0x87654320
would be 0x76543201
in machine code (op-code = 0x01
, immediate = 0x1D950C8
(0x765432
*4)). However, if J type instructions in NIOS have a word address as the 26-bit immediate, how does the computer know that it's telling it to jump to 0x87654320
and not, say 0x07654320
?
Upvotes: 0
Views: 192