TNKS
2005-10-04 02:02:41 UTC
Hi all,
I'm reviewing my homework solutions and two things about the problem
statement of 5.11 (the one about implementing l_inc) are bugging me.
1) I feel pretty sure that the $rs's and the $rt's in the problem
statement are reversed and do not correctly reflect the instruction
fields that are really employed by the instruction.
2) Does it make sense to add 1? Wouldn't it make more sense to add 4?
lw uses a byte-offset, and since we've loaded a word's worth of data,
shouldn't we increment to just past the last read byte?
I looked on the errata sheet, but I didn't find anything about this.
Anyway. . . just wondering if anyone had any different thoughts about
this. If it's really an error, maybe it's worth sending the authors a
note. Otherwise, I wouldn't mind if someone let me know that I'm wrong
about something.
- Sukant
I'm reviewing my homework solutions and two things about the problem
statement of 5.11 (the one about implementing l_inc) are bugging me.
1) I feel pretty sure that the $rs's and the $rt's in the problem
statement are reversed and do not correctly reflect the instruction
fields that are really employed by the instruction.
2) Does it make sense to add 1? Wouldn't it make more sense to add 4?
lw uses a byte-offset, and since we've loaded a word's worth of data,
shouldn't we increment to just past the last read byte?
I looked on the errata sheet, but I didn't find anything about this.
Anyway. . . just wondering if anyone had any different thoughts about
this. If it's really an error, maybe it's worth sending the authors a
note. Otherwise, I wouldn't mind if someone let me know that I'm wrong
about something.
- Sukant
--
/************************************************
* P.S. - THE E-MAIL ADDRESS I PROVIDE IS BOGUS *
* TO PROTECT ME FROM SPAMMERS. PLEASE *
* JUST POST BACK TO THE GROUP. *
************************************************/
/************************************************
* P.S. - THE E-MAIL ADDRESS I PROVIDE IS BOGUS *
* TO PROTECT ME FROM SPAMMERS. PLEASE *
* JUST POST BACK TO THE GROUP. *
************************************************/