0

For example, the value of rs field for addi $t1, $t2, 20 is 01010. Why is that?

Peter Cordes
  • 328,167
  • 45
  • 605
  • 847
  • The first google hit for `i-type mips format` was https://max.cs.kzoo.edu/cs230/Resources/MIPS/MachineXL/InstructionFormats.html which goes through how to encode instructions. – Peter Cordes Oct 11 '21 at 02:33

1 Answers1

1

$t2 is another name for $10. 01010 is binary for 10.

Frank Yellin
  • 9,127
  • 1
  • 12
  • 22