Convert Binary / Hexadecimal to MIPS Instructions

For the following entries, which teams do they represent respectively?

Binary: 00000001110001011000100000100001

Hexadecimal: 144FFF9D

I completely lost myself from what I am doing here - a search on the internet gave a bunch of results that make very little sense to me, but what I have collected, I usually have to match the numbers to their respective instructions / registers, but how exactly I know what it is? Where can I find a comprehensive list? How do you know if it is a R i or J format function?

+3


source to share


1 answer


The first 6 bits (easier to work in binary) is the opcode from which you can determine how to interpret the rest. In this site you should start: http://www.mrc.uidaho.edu/mrc/people/jff/digital/MIPSir.html



Refresh . Calling the first 6 bits of the opcode (too kind) is misleading, but it suffices to tell you how to interpret the rest of the instruction; you may need to look elsewhere (usually at the end of the instruction) for the complete opcode definition.

+4


source







All Articles