Friday, November 27, 2009 11:44 PM,
On Fri, Nov 27, 2009 at 11:15:09PM -0600, Jim Jin wrote: A student writes: Hello Dr. Patt, I had two questions about the program: 1. It says that in printing "One line will consist of the pattern "UT followed by four spaces" eight times. The second line will consist of three spaces, and the pattern (UT followed by four spaces) seven times." Does the second line also have to have three spaces following it at the end? Because that's what the example has. We tried to make it a little easier for you by not requiring you to have three spaces rather than four at the end of the 2nd, 4th, etc. lines. Depending on how you wrote to the screen, it could save you some effort. So, either way is fine. 3 spaces or 4 spaces at the end of those lines. BUT, please tell me, how do you know the example has three spaces and not four spaces at the end of those lines? 2. "You may not use any TRAP instructions in your interrupt service routine." But they're still allowed in the normal routine, right? Right. Thanks, <<name withheld to protect the student who doesn't see the 4th "space">> Good luck getting the last two programs in this coming week. Yale Patt