Initcode/Noinitcode - Intel iAPX 86 User Manual

Table of Contents

Advertisement

INITCODE/NOINITCODE
iAPX 86,88 Family Utilities
5-6
Syntax
I NIT COO E
[(address) ]
NOINITCOOE
Abbreviation
I C
NOIC
Default
INITCOOE(200H)
Definition
INITCODE causes LOC86 to create a new segment that contains code to initialize
the segment registers. The optional
address
argument specifies the physical address
of the code that performs this initialization. If no
address
is specified, the initializa-
tion code will be placed at 200H. The equivalent assembly language code is shown
below:
STACKFRAME
OW
stack frame
OATAFRAME
OW
data frame
EXTRAFRAME
OW
extra frame
C L I
MOV
S S, CS:STACKFRAME
MOV
SP,
stack offset
MOV
OS, CS:OATAFRAME
MOV
ES, CS:EXTRAFRAME
JMP
program start
Notes
The initialization code segment is created only if a register initialization record
for 8086 segment registers exists in the input. These register initialization
records are automatically produced by 8086-based translators for main
modules.
If the area of memory used by the INITCODE default is reserved, LOC86
places the initialization code above the reserved space.
If created, the new segment is called ?'!LOC86_INITCODE.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Iapx 88

Table of Contents