Unit 3.1 -- Notes For Logging In, Editing, Debugging,
Testing
WP375
Helpful Hints
I have set up the accounts so that you have access to common
files. Included are all the ASSEMBLER programs found in
these classnotes, as well as all the programs you need for
your labs. These are available as file mode B.
Some of you may get an error message from the editor to the
effect that FILEMODE Bis read only. This will occur when
you try to save a program.
This occurs because there is an extra disk connected to your
account. It contains all the programs we did in class plus
a few other items.
You can get around this by typing
FILE blah ASSEMBLE A
where "blah" is the name that you want to use for your
program. Note that the "A" filemode is explicitly stated.
Generally, if you avoid names beginning with "$" you won't
have this problem. E.G. call your programs, HWKnn or ASSnn.
3. You can type "FILELIST * * B" to see the programs for
you to look at.
4. COPY blah ASSEMBLE B = = A
will make a copy of one of your supplied programs
on your own minidisk.
How to turn in your assignments
In order to check your programs, I have to do the same
things you do. Inspect the listing to find the memory
locations of the "BR 14" and the "DC's" containing the
variables containing the results.
Thus, I need an electronic version of your program. A
printed listing does me absolutely no good.
The best way to get graded would be to come by the lab and
let me grade you "while-u-wait." YOu get a bonus for doing
this. However, if this is not feasible for you, the
following procedure will allow you to submit an electronic
version.
The following procedure will cause the file to be sent to
the appropriate account, it is a form of electronic mail.
1. To submit your computer assignments, simply
a. type "turn_in"
b. The computer will prompt,
"Enter the name of the file you want to turn
in.
Type the name, e.g. "blah"
Do not type the extension. The machine will
figure out that you need to send the ASSEMBLE file
which is the only thing I need.
c. The computer will say
blah ASSEMBLE sent to MCS080 at ECNIBM at
date (or something similar)
where blah is whatever you call your program
2. Some of you may get an error message from the editor to
the effect that FILEMODE Bis read only. This will
occur when you try to save a program.
This occurs because there is an extra disk connected to
your account. It contains all the programs we did in
class plus a few other items.
You can get around this by typing
FILE blah ASSEMBLE A
where "blah" is the name that you want to use for your
program. Note that the "A" filemode is explicitly
stated.
Generally, if you avoid names beginning with "$" you
won't have this problem. E.G. call your programs,
HWKnn or ASSnn.
3. You can type "FILELIST * * B" to see the programs for
you to look at.
4. COPY blah ASSEMBLE B = = A
will make a copy of one of your supplied programs on
your own minidisk.