Sun, 17 Feb 2013, 15:13




A student writes: 


> Hi Dr. Patt,
>
> I had just finished what I thought would be a good code, and I was thinking
> more along the lines of done, actually. Though, it appears that might not
> be the case from the trail test of my program.
>
> According to my trial test, I think I got a 15?  I have no idea where to
> begin to look for an error that deducts that many points. My program can
> assemble in linux and runs perfectly on command prompt. Do you have any
> advice on where I should begin to look for such a large error?
>
> I have e-mailed Faruk with a similar inquiry, but since he has been
> replying slow lately, I figured I should ask you for a bit of advice as
> well since it is late enough. I probably won't get the chance tomorrow
> night either.
>
> Thank you very much for your time and help,
> <<name withheld to protect the student who forgot the need to run dos2unix>>

Since the question involved details that my TAs are far better than I at
answering, I asked one of my TAs to look at it.  The TA's response:

"The reason you are seeing this error when trying to assemble your 
toupper.asm on linux is because you wrote toupper.asm on windows, 
and did not run dos2unix on it after moving it to linux. Any file 
you generate on windows, you MUST run dos2unix on."
 
Hopefully, that will defuse at least one problem from the rest of you.
Good luck getting your resubmission in, if that is what you are doing today.

Yale Patt