Chapter 3 Command (Cmd) File Generation; Intel 8086 Hex File Format - NEC CP/M-86 System Reference Manual

Advanced personal computer
Table of Contents

Advertisement

Chapter 3
Command (CMD) File
Generation
The GENCMD utility program provided with
CP/M-86
produces CMD memory
image files suitable for execution under
CP/M-86.
INTEL 8086 HEX FILE FORMAT
GENCMD input is in Intel hex format produced by either the Digital Research
ASM-86 assembler (see the CPIM-86 Programmer's Guide for the APC) or the
standard Intel OH86 utility program (see Intel document #9800639-03, MCS-86
Software Development Utilities Operatinglnstructionsfor ISIS-II Users). The CMD
file produced by GENCMD contains a header record which defines the memory
model and memory size requirements for loading and executing the CMD file.
An Intel hex file consists of the traditional sequence of ASCII records in the
following format:
where the beginning of the record is marked by an ASCII colon, and each subse-
quent digit position contains an ASCII hexadecimal digit in the range 0-9 or A-F.
The fields are defined in Table 3-1.
3-1

Advertisement

Table of Contents
loading

Table of Contents