Question: mips how do you convert a j format instruction to binary and hex? j GREG j has opcode of 000010 greg has address of 0x00400030
mips how do you convert a j format instruction to binary and hex? j GREG
j has opcode of 000010 greg has address of 0x00400030
the 26 bit address field is converted to a 32 bit address so 0x00400030 becomes 0000 0000 0100 0000 0000 0000 0011 0000. how do we get this down to 32 bits cause we have opcode that is 6 bits long and that would make 38 bits. how do we squeeze I guess? am I missing something, I think I need to increment the 3 by 4 no?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
