EasyManua.ls Logo

NEC CP/M-86 - Operation of Gencmd

NEC CP/M-86
280 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Command (CMD) File Generation
OPERATION OF GENCMD
The
GENCMD
utility is invoked
at
the
CCP
level by the following command.
GENCMD
filename parameter-list
wherefilename corresponds
to
the hex
input
file with
an
assumed
(and
unspecified)
file type
ofH86.
GENCMD
accepts optional parameters
to
specifically identify the
8080 Memory Model
and
to
describe the memory requirements
of
each segment
group.
The
GENCMD
parameters are listed following the filename.
The
list con-
sists
of
a sequence
of
keywords
and
associated values.
The
keywords are:
8080
CODE
DATA
EXTRA
STACK
Xl
X2
X3
X4
The
8080 keyword forces a single code group so
that
the BDOS load function sets
up
the 8080 Memory Model for execution. This model allows intermixed code
and
data
within a single segment. This form
of
the
command
is
shown below.
GENCMD
filename 8080
The
remaining keywords follow the filename
or
the 8080
option
and
define specific
memory
requirements for each segment
group
corresponding one-to-one with the
segment groups defined in
Chapter
2.
For
each segment group keyword, the corresponding values are enclosed in square
brackets
and
separated by commas. Each value
is
a hexadecimal
number
represent-
ing a
paragraph
address
or
segment length in
paragraph
units (denoted by hhhh
below). Each value
is
prefixed by a single letter, which defines its meaning.
Ahhhh
Bhhhh
Mhhhh
Xhhhh
Load
the
group
at
absolute location hhhh.
The group starts
at
hhhh in the hex file.
The
group
requires a minimum
of
(hhhh * 16) bytes.
The
group
can
address a maximum
of
(hhhh * 16) bytes.
3-3

Table of Contents

Related product manuals