This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
lab5_faq [2014/03/28 02:07] rachata |
lab5_faq [2014/03/30 20:09] varun |
||
---|---|---|---|
Line 3: | Line 3: | ||
* (Q) Are we allowed to modify the existing Pipe_Op struct provided to us? | * (Q) Are we allowed to modify the existing Pipe_Op struct provided to us? | ||
* (A) Yes. Everything in a file that is modifiable (should be everything except shell.*), is modifiable including the data structures. | * (A) Yes. Everything in a file that is modifiable (should be everything except shell.*), is modifiable including the data structures. | ||
+ | |||
+ | * (Q) Is there a change to how SWI 10 should be handled? | ||
+ | * (A) Yes. The fix has been added to the starter code, but if you've already started, the change is fairly simple. Once you get a SWI 10 in the wb stage, you should set the Pipe.PC = op->pc+4 and return, not fetching anymore instructions. | ||
* Note: Make sure you source setup447 | * Note: Make sure you source setup447 |