Section 9.3: An Example of a CSC-1 Assembler Program (Frame 1)                     [     ][home][next]

The simple program we looked at earlier can be used to step through the basics of the CSC-1 assembler and simulator. First, we need to assemble the source program, which is in file simple.as. All CSC-1 assembler programs must reside in files whose names end in ".as". The % shown in the following examples is a UNIX prompt. If you running in MS-DOS, the prompt is likely to be C:\>.

% asm
Name of assembler source file?  simple.as