Getting Started

Part of the 22C:60 on-line collection, Fall 2008
by Douglas W. Jones
THE UNIVERSITY OF IOWA Department of Computer Science

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, you will be able to use the lab machines directly using the ssh command from a terminal window. From a windows machine, you will want to use SecureCRT, available as a free download from http:https://helpdesk.its.uiowa.edu/software/signin.htm.

To run a program through the SMAL assembler, you will have to edit the file .cshrc in your home directory on the lab machines. 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

# Add personal Customizations here.
alias smal ~dwjones/smalstuff/smal32.intel -U ~dwjones/hawk
alias link ~dwjones/hawk/link
alias hawk ~dwjones/hawk/hawk.intel

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.

To print SMAL assembly listing files in room 301 MLH, lp -o landscape FILENAME seems to work well, substituting the appropriate file name. There are a myriad of ways to copy files from the lab machines to a remote machine, and an even greater myriad of ways to print them remotely. In general, try for printing in a fixed font in landscape format.