Assembly language offsetting multiple ways to store words?
I am using MIPS with the mars editor and I was wondering if something like
sw $s0,8($v0)
Is equivalent to:
sw $s0,$v0(8)
My instinct tells me this is not the case because it takes the address of
whatevers in the brackets and adds the value of whatever is outside it.
However in the solution posted by codeknight in the link beliw he
http://www.masmforum.com/board/index.php?PHPSESSID=786dd40408172108b65a5a36b09c88c0&topic=1062.0
No comments:
Post a Comment