home *** CD-ROM | disk | FTP | other *** search
/ CP/M / CPM_CDROM.iso / simtel / sigm / vols000 / vol014 / asm.hlp < prev    next >
Encoding:
Text File  |  1985-02-10  |  3.4 KB  |  83 lines

  1. Invoking the Assembler
  2. Assembler Pseudo-Ops
  3. Assembler In-Line Error Messages
  4. Assembler Console Error Messages
  5. :Invoking the Assembler
  6.  
  7.      The CP/M Assembler is invoked by typing --
  8.  
  9.           ASM filename   or   ASM filename.parms
  10.  
  11. where 'filename' is the name of the file 'filename.ASM' to be assembled.
  12.  
  13.      In the case of the first command, the following files are created --
  14.  
  15.           filename.HEX        - "HEX" file containing machine code in
  16.                                 Intel hex format
  17.           filename.PRN        - listing file
  18.  
  19.  
  20.      Iεá thσ casσ oµ thσ seconΣ command¼á thesσ file≤ arσ createΣ accordinτ ì
  21. to the parameters specified --
  22.  
  23.           ASM filename.pqr
  24.  
  25. where
  26.           p : A,B,...  - designates the disk name which contains the source
  27.           q : A,B,...  - designates the disk name to receive the hex file
  28.               Z        - skips generation of the hex file
  29.           r : A,B,...  - designates the disk name which will receive the
  30.                          print file
  31.               X        - outputs the listing to the console
  32.               Z        - skips generation of the print file
  33. :Assembler Pseudo-Ops
  34.  
  35.      ORG       Set the program or data origin
  36.      END       End program
  37.      EQU       Numeric equate
  38.      SET       Numeric set
  39.      IF        Begin conditional assembly
  40.      ENDIF     End conditional assembly
  41.      DB        Define data bytes
  42.      DW        Define data words
  43.      DS        Define data storage area
  44. :Assembler In-Line Error Messages
  45.  
  46.      ─á   Datß error║  elemen⌠ iε datß statemen⌠ canno⌠ bσ  placeΣá iεá thσ ì
  47.           specified data area
  48.      ┼á   Expressioεá error║á  expressioεá  i≤á ill-formeΣá anΣá canno⌠á bσ ì
  49.           computed at assembly line
  50.  
  51.      ╠á   Labe∞á error║á  labe∞á canno⌠  appea≥ iεá thi≤á contex⌠á (ma∙á bσ ì
  52.           duplicate label)
  53.      ╬á   No⌠á implemented:á  feature≤á whicΦ  wil∞ appea≥á iεá futurσá AS═ ì
  54.           versions
  55.  
  56.      O    Overflow:  expression is too complicated to compute; simplify
  57.      ╨á   Phasσá error║á  labe∞á doe≤á no⌠  havσá thσá samσá valuσá oεá tw∩ ì
  58.           subsequent passes through the program
  59.  
  60.      ╥á   Registe≥á error║á  thσá valuσ  specifieΣ a≤á ßá registe≥á i≤á no⌠ ì
  61.           compatible with the operation code
  62.      ╓á   Valuσá error║  operanΣ  encountereΣ iε expressioεá i≤á improperl∙ ì
  63.           formed
  64. :Assembler Console Error Messages
  65.  
  66.      NO SOURCE FILE PRESENT        The file specified in the ASM command
  67.                                    does not exist on disk
  68.  
  69.      NO DIRECTORY SPACE            The disk directory is full, erase files
  70.                                    which are not needed, and retry
  71.  
  72.      SOURCE FILE NAME ERROR        Improperly formed ASM file name
  73. è     SOURCE FILE READ ERROR        Source file cannot be read properly by
  74.                                    the assembler, execute a TYPE to
  75.                                    determine the point of error
  76.  
  77.      OUTPUT FILE WRITE ERROR       Output files cannot be written properly,
  78.                                    most likely cause is a full disk, erase
  79.                                    and retry
  80.  
  81.      CANNO╘ CLOS┼ FIL┼             Outpu⌠ filσ canno⌠ bσ closed¼áchecδát∩
  82.                                    see if disk is write protected
  83.