Go up to Top
Go forward to Instruction Format

Using the Assembler

To assemble a program, simply type
wc34asm file-name
where "file-name" is the name of a file containing assembly language statements of the form described in the Instruction Format section of this document. The assembler will display error messages on the error output. If no errors are encountered the assembler will place the translated program in a file named `tmem' in the current directory. The "-l" option can be used to request that the assembler produce a listing of the program on its standard output. Thus,
wc34asm -l prog.s > prog.l
will assemble "prog.s" leaving a listing of the program in "prog.l" and the translated program in tmem. The listing will show the address of the operation field of each machine instruction in the program. This information can be very useful when debugging a program.

Up Next