What does rt stands for in MIPS instruction format?
Asked Answered
L

3

13

Take MIPS instruction format described here, there are some abbreviations eg rd,rs and rt. What does rt stands for? I know rt is the second source register in R-type instruction, and is the destination register in I-type instruction. It is easy to guess rd stands for register destination; rs stands for register source. What about rt? I guess it might be "register temporary"? Is there an authoritative source about this?

Leatherback answered 8/9, 2011 at 8:58 Comment(0)
T
24

t is just the next letter after s, so rs is the first source register, rt is the second source register. (If there could be a third source register it would most likely be ru.)

Tagliatelle answered 8/9, 2011 at 9:2 Comment(3)
what about I-Type commands, which only have RS and RT, and the result is written into RT? cs.umd.edu/class/sum2003/cmsc311/Notes/Mips/format.htmlSlant
@yoav85: "I" in this context is just short-hand for "immediate". There are two registers and an immediate value.Tagliatelle
I remember it as register transition, since it is sometimes a source and sometimes a destinationReply
S
3

rt stands for "register target". Just like been said above, in I-Type commands, the result is written into rt

Should answered 2/12, 2018 at 15:52 Comment(0)
C
-1

"register temporary", I think so.

Canonicals answered 21/10, 2022 at 2:50 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.