Distinguishing between I-type and R-type Instruction format in MIPS -
in mips, wonder if there way tell if instruction, looking @ machine code, i-type or r-type instruction?
if you're looking quick , dirty, op-code (6 significant bits) of r-type instructions set 0
.
of course in real cpu there more complicated test deal possible exceptions.
see this chart.
Comments
Post a Comment