What’s the the binary and the hexadecimal representation of machine code of the following MIPS instruction?
Author: Amy Adams // Category: Machine codeIt’s MIPS assembly language.
What’s the binary and the hexadecimal representation of machine code of the following MIPS instruction?
Add $t0,$t0,$zero
I have absolutely no idea.
Hi,
You can use an assembler and a hex editor to easily find out. For instance, you can use GAS (the GNU assembler – what GCC uses as its backend) to assemble this (you might need to build cross-binutils for MIPS in order to do this).
Cheers,
Bogdan