home *** CD-ROM | disk | FTP | other *** search
- Invoking the Assembler
- Assembler Pseudo-Ops
- Assembler In-Line Error Messages
- Assembler Console Error Messages
- :Invoking the Assembler
-
- The CP/M Assembler is invoked by typing --
-
- ASM filename or ASM filename.parms
-
- where 'filename' is the name of the file 'filename.ASM' to be assembled.
-
- In the case of the first command, the following files are created --
-
- filename.HEX - "HEX" file containing machine code in
- Intel hex format
- filename.PRN - listing file
-
-
- Iεá thσ casσ oµ thσ seconΣ command¼á thesσ file≤ arσ createΣ accordinτ ì
- to the parameters specified --
-
- ASM filename.pqr
-
- where
- p : A,B,... - designates the disk name which contains the source
- q : A,B,... - designates the disk name to receive the hex file
- Z - skips generation of the hex file
- r : A,B,... - designates the disk name which will receive the
- print file
- X - outputs the listing to the console
- Z - skips generation of the print file
- :Assembler Pseudo-Ops
-
- ORG Set the program or data origin
- END End program
- EQU Numeric equate
- SET Numeric set
- IF Begin conditional assembly
- ENDIF End conditional assembly
- DB Define data bytes
- DW Define data words
- DS Define data storage area
- :Assembler In-Line Error Messages
-
- ─á Datß error║ elemen⌠ iε datß statemen⌠ canno⌠ bσ placeΣá iεá thσ ì
- specified data area
- ┼á Expressioεá error║á expressioεá i≤á ill-formeΣá anΣá canno⌠á bσ ì
- computed at assembly line
-
- ╠á Labe∞á error║á labe∞á canno⌠ appea≥ iεá thi≤á contex⌠á (ma∙á bσ ì
- duplicate label)
- ╬á No⌠á implemented:á feature≤á whicΦ wil∞ appea≥á iεá futurσá AS═ ì
- versions
-
- O Overflow: expression is too complicated to compute; simplify
- ╨á Phasσá error║á labe∞á doe≤á no⌠ havσá thσá samσá valuσá oεá tw∩ ì
- subsequent passes through the program
-
- ╥á Registe≥á error║á thσá valuσ specifieΣ a≤á ßá registe≥á i≤á no⌠ ì
- compatible with the operation code
- ╓á Valuσá error║ operanΣ encountereΣ iε expressioεá i≤á improperl∙ ì
- formed
- :Assembler Console Error Messages
-
- NO SOURCE FILE PRESENT The file specified in the ASM command
- does not exist on disk
-
- NO DIRECTORY SPACE The disk directory is full, erase files
- which are not needed, and retry
-
- SOURCE FILE NAME ERROR Improperly formed ASM file name
- è SOURCE FILE READ ERROR Source file cannot be read properly by
- the assembler, execute a TYPE to
- determine the point of error
-
- OUTPUT FILE WRITE ERROR Output files cannot be written properly,
- most likely cause is a full disk, erase
- and retry
-
- CANNO╘ CLOS┼ FIL┼ Outpu⌠ filσ canno⌠ bσ closed¼áchecδát∩
- see if disk is write protected