You may find http://www.divms.uiowa.edu/help/msstart/ to be useful. If you work in room 301 MLH, you will have direct access to the computers. If you want to work over the Internet, see http://www.divms.uiowa.edu/help/msstart/remote.html for advice.
From a Mac or a Linux machine, you will be able to use the lab machines directly using the ssh linux.cs.uiowa.edu command from a terminal window, and the scp command can be used for uploads and downloads. All of the tools used in this course run equally well under MacOS and Linux.
a windows machine, you will want to use SecureCRT, available as a free download from http:https://helpdesk.its.uiowa.edu/software/signin.htm; SecureCRT includes an upload/download tool.
To run a program through the SMAL assembler, you will have to edit the file .cshrc in your home directory on the lab machines. The leading dot is part of the file name, and note, file names starting with dot are not listed when you list a directory with the ls shell command. Use the ls -a command to list all the files in your directory, including the hidden files.
You can use any text editor on these machines. Change the file so it looks like this:
# KEEP THESE TWO LINES FIRST !! source /etc/CSHRC ... (there may be additional content here, don't change it) # Add personal Customizations here. alias smal ~jones/bin/smal32 -U ~jones/lib/hawk alias link ~jones/bin/hawklink alias hawk ~jones/bin/hawk
The last 3 lines above, starting with the word alias are the lines you will need to add. After doing this, log out and back in again in order to activate the smal, link and hawk commands.
Now, if you have a SMAL source file, say a file named myfile.a, you can assemble it with the shell command smal myfile.a. When you do this, the assembler will produce a listing file called myfile.l and an object file called myfile.o.
If there are no assembler errors, you can link the object file with the shell command link myfile.o. This will produce a Hawk executable called link.o. If there are no linker errors, you can run the executable with the command hawk link.o.
To print SMAL assembly listing files such as myfile.l in room 301 MLH, lp -o landscape myfile.l seems to work well. There are a myriad of ways to print files locally. In general, try for printing in a fixed font in landscape format.