Things are never as easy as you're told. I've just
tested the procedure for porting code from THRSim11
to the EVB boards in MWAH 355. Everything written
in Testing_of_Programs is correct.
HOWEVER:
1. Porting a text file from PC to unix leaves ^M characters at the
end of every line. The assembler upstairs _hates_ that.
To fix this, you need to login to the UB system and edit
the program file, NAME.asm. You may use the vi editor available
on UB. DO NOT try doing the edit with the EVB platform, it's
just too hard to use for this editing. You'd be better off using
the AMD boards also in the 355 Lab. Or, better still, telnet
to UB from a PC.
Please know that x (the x key)is the delete character key.
Put your cursor over the unwanted ^M character and press x. Do
this for each line of your program.
If this sounds way too tedious, you may always just type in your program
Directly into a new vi file. Do this right on the EVB board.
2. The asm11 assembler in Lab is extremely fussy about certain things:
a) Labels: All Labels such as DAT1 and START in the example
program need to end with a colon: e.g. START:
b) Case sensitive: all directives, instructions, and hex numbers
need to be lower case. In other words, only
Labels may use Capital letters.
e.g. START: ldda 0fc2
c) No dollar signs: The assembler assumes you're using Hex, and
won't tolerate a $ in front of a number.
3. I maybe haven't made things very clear regarding Lab...
(an understatement???) ..., But hear this: You perform this lab
on your own time. If you get stuck, you need to get help. I am
available to help. Dr. Alba will have a TA with some hours, soon.
That TA will be able to give help as well. WWhen you have a working
Lab, you need my signature on a paper printout of the working
program. That signed paper is a vital part of your report which
is due Friday.
As for my availablility, I have found a TA for my afternoon session of
1315 on Thursdays. I will still be in MWAH 393 most of the day on
thursdays, but you may always pull me out to sign a program (or ask for
a bit of help)
Scott R. Norr, PE
Instructor, ECE Department
MWAH 43, UMD
218-726-8947