What happens when I give an offset to a "temporary register" in MIPS -


for example:

    $t0 =     $t1 = b     $t2 = c 

if following command

 lw $t1, 4($t0) 

would load $t2 $t1?

as long temporary registers next each other in memory. i.e.

 reference:   $t1                     $t2  mem blocks: [byte][byte][byte][byte][byte][byte][byte][byte]... 

programs logisim should have registers packed tightly.

helpful page here uc berkeley.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -