System information

Table 5-1. CP/M Filetypes
Filetype Meaning
ASM Assembler Source
PRN Printer Listing
HEX Hex Machine Code
BAS Basic Source File
INT Intermediate Code
COM Command File
PLI PL/I Source File
REL Relocatable Module
TEX TEX Formatter Source
BAK ED Source Backup
SYM SID Symbol File
$$$ Temporary File
Source files are treated as a sequence of ASCII characters, where each line of the source file is
followed by a carriage return, and line-feed sequence (0DH followed by 0AH). Thus, one
128-byte CP/M record can contain several lines of source text. The end of an ASCII file is
denoted by a CTRL-Z character (1AH) or a real end-of-file returned by the CP/M read operation.
CTRL-Z characters embedded within machine code files (for example, COM files) are ignored
and the end-of-file condition returned by CP/M is used to terminate read operations.
5.2 Call Conventions CP/M Operating System Manual
5-7