Michael Koenig
Guest
|
Posted:
Fri Nov 11, 2005 5:15 pm Post subject:
Re: ADD Immediate? |
|
|
Paminu wrote:
| Quote: | I am trying to understand the ADD Immediate instruction in the MIPS
language.
R[rt] = R[rs] + SignExtImm
As I understand it a constant is added to the contents of rs. The the
content of rt is replaced by this sum. Is that correct??
|
Yes, a 16-bit signed immediate is added to the value of Rs and then put into
Rt.
| Quote: | I am a bit confused if its the content of the registers or the address of
the registers.
|
In typical RISC architectures only load and store instructions access memory,
and everything else operates just on registers.
--
M.I.K.e |
|