0

enter image description here

If the opcode for R-format instruction can be all 0s and the six least significant bits can be used instead, does this mean that more opcodes can be represented with the R-format? Since the other instruction formats do not have the funct instruction?

Please help. Thank you!

sepp2k
  • 363,768
  • 54
  • 674
  • 675
Tina
  • 179
  • 1
  • 3
  • 13
  • Depends on how you look at it. If you fix `OP` at zero then you basically changed `funct` into `OP` and both are 6 bits so it's the same number of instructions. If you consider non-zero `OP`, then yes, more instructions can be encoded with R format. – Jester Feb 20 '19 at 15:48
  • @Jester Oh, does that mean that both the `OP` and `funct` instruction can be used to represent a single opcode? – Tina Feb 20 '19 at 15:54
  • 1
    Looking at the actual instruction set it seems all R format have `OP=0`. But theoretically you could have other values too. – Jester Feb 20 '19 at 16:05

0 Answers0