ASL00344B_ISWL_CI_V2.0_ERS_Sep75 ASL00344B ISWL CI V2.0 ERS Sep75

ASL00344B_ISWL_CI_V2.0_ERS_Sep75 ASL00344B_ISWL_CI_V2.0_ERS_Sep75

User Manual: ASL00344B_ISWL_CI_V2.0_ERS_Sep75

Open the PDF directly: View PDF PDF.
Page Count: 38

NC~/COC
ADVANCED
SYSTEMS
LABORATORV
IPL-Software
Engineering
SYstelll
E~1m!i£.1
[jmmg;J
ADVANCED SYSTEMS LABORATORY
cveER
7D/IPL
lSHL
(ISHL/CII
V2.0
ERS
»oc.
No.
ASLD03~~
Rev.
B
1
09/01175
REVI
B
REVISION
A
{4/28I7S}
B
{9/1I7S}
OC.
N
o.
ASLOO344
RECORD
of
REVISIONS
NOTES
ERS
released.
Titled
"IPL
ISWL
iVl.0}".
ERS
comQletel\1
u~dated,
ob:;oletioo
all
or",
iQUo;
P
J1i..t.i.o
5
{V2.1J}".
Ii
tl
e
cbangorl
t-n
"rVQC"P
"~ITDI
T"!Jl
-
.
c
1.0
INTii.ODUCTION ·
·
2.0
APPLICABLE
OOCUHt:NTS
·
·
· ·
3.0
APPc.NOI'( A -
LANGUAGE.
DISCRE;PANCIES ·
..
·
3.1
LAN(,UAGE
Ll
IFFERENCES
3.2
LA
"WAGE
RESTlUC TIONS · ·
·
· · ·
... a
Ar'P£t;uIx
i.I
-
IPL
HAC
HIllE
UR£AKOUT
· ·
...
1
IPI.
HACIHUE
Bf.li..Ai{OUT
--
(REVISION
BI
· ·
It.l.1
C00e.
PPOCELlURE
· ·
It.l.2
CODE
OLOCK
.
· · ·
·
It.l.3
cooe
HOOULE
It.l.1t
COJc.:
ATTo<I3UT£ I NHERI T ANCf ·
·
...
1.5
HAC
11
ItH
. JATA TYPES · ·
It.l.5.1
Bvte
Type
4.1.5.2
Bit
Type
·
·
4.1.5.3
Addres'>
Type
...
1.;;.4
Oescriutor
Type
It.l.!>.5
Hochin~
Types
In
Expresslors
It.l.6
HA
CriIll~
S T
Oo<AGE
CLASSES · ·
...
1.6.1
Fast
~
toraqe
Class
·
· · ·
It.l.6.2
Pe9iST~r
Storage
Classes
4.1.7
HACHINE 51 ATEHEIHS ·
· ·
·
It;1.7.1
H~cnl"e
uir"ctives
· ·
· · ·
It.
1.
7.2
LO('KR£G
and
FR.~EREG
· ·
4.1.7.2.1
PROLOGUE
AIlU
f.PILOGUE ·
..
· · ·
4.1.1.3
HdCnir'l
e,,11
t-In
Functions
4;1.7.3.1
uFfSET
FUNC
TIONS · ·
4.1.7.3.2
LfUGTH fUNe T IONS · ·
·
·
·
4.1.7.3.3
AOOIli.S5 FUtJCTION · ·
·
4.1.7.3.1t
M1I10r-:Y
FUtlC
T lOll ·
·
·
4.1.7.It
Instruct
ions
4.1.7.5
QlIa
II
fler
Uefinltlors
·
4.1.7.5.1
IN.) T
r<UCTlUN
OPEriAtlO
SYNTAX
·
·
4.1.7.5.2
ltIS
T
RUC
TIU
tl
D£flNITIOtlS
BY
NUMBER
'Ct.2 11'1.
MAC,HUE
9:>£AO<.)UT
(;OR~ECTIOI~:5
4.2.1
HACliltlE BIJEAKour
CJIl~E(;TION5
·
·
5.0
APP£NUIX C -COMPILATION
EIi~OP5
· ·
5.1
PAS::.
I
E~~Oa
(;0~f
JEFINITrONS
5.2
PA::;S
II
L~"'.UR
..
CO
or::
DEFINITION
6.0
A,.>
Pt:.
tlLl
1.<
il
IPl
ISl/l
r-:E::.ERVEO
WORDS
·
·
7.0
A,>p~ilU
IX
i:.
-A$.;t:HtlLY LAN';UAGl
J!::SCkIPTIOti
8.0
APPLtlOIx
f"
-COMPILER
OUTPUT
..
· ·
6.1·
LISTltiG
FILE
.
.
.
· . ·
·
·
·
·
· · ·
·
·
· ·
· ·
· ·
·
·
·
·
·
· ·
·
· ·
·
· · · ·
· · ·
·
·
· ·
· ·
· · ·
· · ·
· · ·
· ·
·
· ·
· ·
·
· ·
·
·
· · ·
·
· · ·
· · · ·
· ·
·
·
·
·
· · · ·
·
·
· ·
·
·
· ·
· ·
· ·
· · ·
·
·
· ·
·
·
·
·
·
·
"
·
·
·
·
A-l
09/01175
1-1
2-1
3-1
3-1
3-2
4-1
..
It-l
1t-1
1t-2
1t-2
1t-3
1t-3
4-3
It-It
It-It
1t-5
4-5
1t-6
It-6
4-7
1t-7
'.
4-6
4-6
4-9
4-9
1t-9
4-10
It-lO
It-l0
4-11
It-l1
It-11
4-12
.·4-
20
.
4-20
5-1
5-1
5-5
0-1
7-1
6-1
8-1
A-2.
09/01175
8.
Z
J!JJ£.:Cl
FILE
••••
••
8-9
9.~
APPENOIX H - COMPILING SOURCE
MODULES
•••
~
••••
10.0
A">~EHOIX
G -
OBJ~CT
p~OGRAH
LXECUTJON
tu.l
IPL
ISWl
RUNTIHE SUPPORT PROCEJURES
10.2
I~LT!ATION·
.
10.3
'10·
riAL
lLi<MINATION
10.4
AE~O~~Al
Tt:~MltlATION
J.1.0
A'>Pt.NllIX
II
-HACHINE
BREAKOUT
t:XAMPlE
. . . . . . . .
. . . . .
10-1
10
-1
10-1
10-
3
10-3
11-1
IPL-SOFTWA~~
ENGINEERING
SYSTEH
ISWL/CI
V2.0
ERS
1.
iJ
INTJ;:OOCCTION
1-1
09/01/75
REVI
B
The
purpose
of
thIs
document
Is
to
def
Ine
the
IS!lL/CI
VZ.O
language
to
SUCh
a
degree
that
the
language
can
be
unierstood
a~d
used
bv
program~ers
experlenC~d
In
the
use
of
hIgh-level
Dlock-structured
languages.
The lSHL/CI
VZ.O
language
Is
def
lned
bv
the
ISHL
Vi!!.O
USWL/CC
I
.ERS
and
DV
thIs
document.
Other
appendices
are
Ineluoect
In
the
oocument
to
descrIbe
the
follo,lingl
-
LANGUAGE
OISC~EPANCIES
-
I~L
HA~HINE BR~AKOUT
-
COMPILATION
EkRORS
-IPL
IS~L
RE~EkVED
!lORDS
-
ASS~HBLY
LAHGUA'E
DESCRIPTION
-
COHPILER
OUTPUT
-
COHP1LING
SOURCE
MODULES
-
OBJECT
P~OG~AH
EXECUTION
..
H ..
CH11U::
B~&::AI(OUT
&::XAMPLE
The
rea~er
15
ur9~d
to
read
the
appendices
In
the
order
as
listed
above
from
the
top
to
the
bottom.
NCR/CDC
PRIVATE
I~.-SOFIWA~E
ENGIN£EKING
SYSTEH
ISo/Lie I
V2.0
ERS
l.a
APPLICAaL~
DOCUHENTS
The
following
document
Is
reQuIred.
ISHL
~2.~
E~S
(Rev.
AI
2-1
09/01175
REVI
e
T~e
fol
low~ng
Jocu~~nt
references
related
~aterlal
with
which
the
read~r's
f~mll1arltv
Is
assumed.
CY~F~
7~/l~L
ISWL
V2.0
Design
Plan
The
fJllowln~
documents
reference
related
~aterlal
whleh
the
reJ.Jr
Is
urq.:lct
to
r"ad
b.:lf()re
h~
atte.nptsto
execute
an
IPL ISIIL
obj .:let
pr09ra~.
lPL
Instruction
SiRlul3tor
Vi!!
ERS
So
It
w"'
re
Eng
fn~e
rl
n9
User'S
Handboo.k
(Rev.
KI
I(~OIOS
Ti~e-Sharln9
User's
Hanual
lPL
~'roc
..
s~or-l1o;l1J.)rv
Model
Indeoendent
GLlS
("ev.
0)
NC~/CDC
PRIVATE
3-1
IPL-SOFIWA~E
ENGIN~ERING
SYSTEM
09/01175
ISWL/CI
V2.0
ERS
REV'
B
--------------~---------------------------------~--~---
-------------
3.a
APPf.NDIX
A -
LANGUAGE
DISCREPANCIES
------
..
----
...
-------.~-------------------~--..,-----
..
----
-------_
..
_-----
This
section
descrlbdS
tnl!
differences
and
restrictions
of
the
ISWL/CI
V2.0
LanQuage frolll
the
ISHL
V2.0
ERS
and
the
"IPL
Hachlne
Breakout"
aeflnltlon
(see
aopendlx
entitled,
"IPL
MACHINE"
BRt:AKOUT")
-
No
1/0
of
any
kind
Is
supported.
-
Any
feature
requiring
runtime
support
15
not
provided.
This
Incluces
support
of
eXPOnentiation
and
full
r~ntlme
storaga
manipulation.
-
Ihputwlll
be
the
KRONOS.~ev.
C
character
set.
-
Compiler
usa~e,
limitations,
and
error
list
are
peculiar
to
the
pr-oduct.
-
~dcnln~
oreakout
will
be
supported
to
the
proposal
of
November"
1;,
197/0
entitled
"IPL
Hdchln~
Rrelkout"
(seE'
"lPL
Machine
Bre~kout"l.
the
level
defined
bV
by
C.
W.
Schwar-cz,
appendix
entitled,
-.
The wor:l
"main"
is
an
opt
10nJ I
attribute
of
a
procedure
an~
Indicates
the
first
procedure
of
a
program
to
be
executed
when
s6
r-eQulred
bV
the
svstelll.
-
Constant
axor"ssions;
c::on
onlv
De
of
type
Integer
whdn
used
In
eonstdnt
Jeclaratlons.
-
Pointers
to
procedures
aren't
imolemented.
-
Forward
oointer
refe~ence~
to
adaptaple
typeS
are
not
allo"eJ.
-
Th"
B corr.ment to.1Qle must
occur
syntectlc:!lly
first
In
the
orogram
Pefore
any non-ISWL
text
In
the
source
program.
Syntox
scanning
Is
left
to
right
per
source
stlte~ent.
NCR/COC
FRI
VAlE
IPL-SOFrWA~i
LNGINEERING
SYSTEM
I~~L/CI
v~.o
ERS
09/01175
REVI
B
.-.-------------~----------------------------------------
-----------
3.0
AP~,NOIX
A -
LANGUAGE
OIsc~rpANCIES
3.1
LANGU~GE
DIFFLRiNCES
-
~~al
dot~
type
Is
not
supported.
-
S~t§
with
25b
elements
are
supported.
-Type
id·Hltifier
cl·~cl
srcsT
ions.
lists
are
supported
In
·tvpe.
and
constant
-
Sypstrln~s
Cdn be
passed
as
parameters.
-
B~9ir
blocks
with
local
declarations
are
suppor-ted.
-The
poipter
tyoe
test
ooerator
Is
supported.
-
For
statement
Incremolnt
and
Cecrelllent
Is
sUP·ported.
-
The
.eof
function
Is
not
supported.
-
No
~dra~~ter
passing
p.roceJures.
Is
allawl'd
code
CIPL)
-
H3cnin~
built-In
fu~ctlons
with
the
exception
of
the
ajoress
function
must
be
~valuatable
at
compile
time.
-
BLlIr
type
do<.!s
not
malign
other
fields
1"1
a
record
definition.
The
fielas
followi"lg
a
flela
of
~3rT
type
are
01
i~ne.1
to
3
Pyt,-
boundary.
-
BSIT
dnd
BaYTE
types
are
conformable
only
to
themselves.
-
nfA~T
tyoe
Is
Ignored
anJ
varlabJes
of
this
·tvpe
are
tre3ted
as
dutomdtlc
variables.
-
U0f~
C3n
onlv
be
USold
In
a
machine
statement.
- #
IF:)
.ir,l
IIJF6IT
ar.~
not
'>u:lear-ted for-
ariju'llents
which
are
C{)Il;:.t.;.;nts.
-
LJC<~lG
d!lJ
P~ULOG
directives
3re
le~lcal.
-
It
~
~~O~OG
directive
is
used,
then
It
must
be
the
first
5tl..lt
ern'-!nt
in
Th~
urOCC(lure.
-
l'
., .'''Jl.UC.
dir.!ctivu
is
not
used,
t~e
following
r~~lriCI,ons
.pnly.
NC~/CJC
P~IVATE
IPL-SOFTWARE
ENGIN~ERING
SYSTEH
09/01175
REVI
e
!~~~~~:-~~!~-~~~------------------------------.;.--------------------
3.0
APP~NOIX
A -
LANGUAGE
DISCREPANCIES
~!~-~~~~~~~:-~:::~:~!:~~~----------~--------------------------------
-.
The
following
statements
cannot
be
usedl
-
CA$E
-
GOTO
EXIT
-
pr?cedure/functlon
calls
-tXIT from
procedure/functlon
-
klTURN
.
-
FOR
.,
BEGIN
-
h£XT
-
RESET
CYCLE
-
ALLOCATE
-
VAR
declarations
for
automatie
varIables
_
No
return
cooe
is
generated
for
the
procedure/functlon.
-
'Blf
fype
cannot
span
64
bits.
_ I.-oCKing
II
"lOCKed",
register
and
freeing
II
·
..
.free··
register
are
il
I
Pg<i
I
_
In
order
to
initialize
types
whieh
are
either
or
contain
.BIr
and
.BYTE
tvpes.
the
OH
function
must
be
used.
In
this
case.
the
lef.t
most
n=(number
of
bits
representlng
the
fyoe
definition)
bits
in
the
hex
character
string.
are
used
for
the
initialization.
_
II
a
variable
is
10ckeO
to
a
register
and
is
one
of
the
following
typesl
BAOOKESS. .OESCRH.
or
.OESCRF.
it
Is
illegdl
to
access
a
field
of
the
variable.
_
An
in
a
value
constructor
can
onlv
be
used
for
uninitiallzi~g
elements
of a
structured
varlabre
and
n~t
the
entlr~
structured
v~rlablf.
_ Tne
fIeldS
of
a
",acnine
d'3ta
tyee
are
not
addressable
v~a
the
.LOC
funct
ion
ana
the
unary
pointer
ooerator
1-).
The
<bounds
list>
of
an
<al
location
designator>
cannot
be
of
the
form.<scalar
expression>
•••
<scalar
expr9islon>.
NCR/CtJC
PRI
VAlE
IPL-'>OFIHAk'::
LNGlIlEt.I<ING
SYSTiOH
lS:.IL/CI
V2.0
E~S
09/01'75
REVI
e
....
----
.....
--
...
_--
-----
-------
..
-----.------
---------.--------------
------
4.J
APP~NOIX
a - IPL
HAChI~E
8~EA~OUT
The IPL Muchine
~reakout
features
of
the
language
by ·a
memo
entill".:I.
"IPL
I1Jclline
Breakout",
C.W.
Schw.rCl
on NovQmber
15,
1~74.
The
contents
are
contdlne~
In
th~
aoperi.:Jlx.
are
defIned
..
rUten
by
of
the
!!Ie
110
SWL
",.chi"~
br~akout
oroviaes
facilities
for
d~flning
botk
tyoes
~~d
varipbles
using
machine-deoe~dent
tv
pes.
faeilities
such
as
reqisters.
~nd
~enerating
machine
Instructions
through
an
<lsserrbly
ian~ua'lP
lacllity.
~
.
~y
providin~
",ell-defined
inter·faces
oet",!en
SWL
tyoes
and
stat~ments
on
the
one
nand.
and
machine
tyoes
anj
statements
(i~SlruCTiJn~)
on
thd
other
hand,
the
amount
of
machine
code
can
be
red~ce1
10
the
specific
lun~tions
that
the
programmer
wishes
to
oef
ire
in
:I
'machlne
deoenent
manner.
~usekeeoing.
inpuT-ouTout.
mell'ory
m,m.l~le",ent.
addressing.
and
flo
..
of
control
.Cdn .11
a\!
",ritten
in
SIll
itself·
it
the
progr.;:lm1ler
des.1res.
4.1.1
CCJE
P~QCCDU~~
J\
pr':h-e
lur.!
(Iec
lar
ed
wit
h
the
COOF.:
at
tribute
can
1II.5l<e
use
0 f
m~Chin~
Jara
tyees
~na
~achine
statements.
A
COOE
procedure
does
not
~utom3tlcJI
Iy
contain
the
standard
compiler-generated
p~olo~ue
and
!oiI01ue.
The
standard
orologue
and
eoilo;ue
ca~
b~
'Hmer
..
tea
Throu'~h
tne
use
of
the
PQOLOG
and
EPILOG
machine
oirective!:..
rinile
th~rp
are
no
restrictions
dSto
the
range
of
SHL
st.,t--'11!!"ts
anj
Jeclarations
In
a Cad
..
oroceaure.
the
progra'ftmer
"1.Jst tln-;ure T'I',t
the
s,tar.aarj
erof
ague
or
eollo3ue
has
been
~x~c~t
...
;]
uno
Ih"t
the
n~c"ssary
stdnaard
SWL
environ",ent
is
in
t~ct
i f
r.~uirpd
uy
mJChin~-inaecandent
SWL
d~claratlon$
or
';if~i
t··"l~"'ts.
~rntdAI
ada
a
n~w
proc~du~e
attribute.
t~C~/CJC
PRIVATE
IPL-SOFlIfARE
ENGINEERING
SYSTEH
ISWL/CI V2.0
ERS
4-2
09/01175
REVI
e
----.--------------------------"._--------------------------------
4.0
APPENDIX
B - IPL
MACHINE
B~EAKOUT
4.1.1
CODE
PROCEUURi
<cod~_attrlbute>
11=
CODEIIPL)
Note
that
the
code
type.
Tnus
c"llers
procadure
oeing
called
(un I
ess.
of
course.
paran:eters.
attribute
Is
not
part
of
the
procedure
of
a
procedure
need
not
know
whether
the
Is
a
code
procedure
or
a
normal
procedure
the
procedure
reQuires
machine-dependent
4.1.2
COuE
BLOCK
A
code
block
is
a
BEGIN
block
that
can
contain
ma~hlne
decl~rations'or
statements.
It
can
also
contain
SWL
jeclarations
or
statements.
The same
restrictions
defIned
for
code
procedures
applv
to
code
.blocks.
Svntdxl
replace
the
definitiOn
of
begIn
statement.
<begin_statement>
1'=
~EGIN
[[<cade_attribute»)
<oeclar'ation_I,lst>
<statement_list>
END
£xallule'
nothlngl
BEGIN
[ COOEIIPLI
TYPE
trans_vector
=
AORAY
[0
••
OffI1&11
OF
'address,
anqus
=
Idescrh;
VAil.
trans
I
trans_vector,
pu
I -
'ild1ress,
1 I 0
••
11116)1
FO~
1 1= 0
Tu
ending
00
pu
1=
-
trans[l)
FORENO
EtlO
nothing;
4.1.3
COOl
HOOUL~
A
code
mooule
is
a
module
tha,
contains
machine
declarations
"potentIally
Incluolng
code
procedures.
NCRICOC
PRIVATE
IPL-SOFIWA~E
£~GINEERING
SYSTEH
09/01175
ISI/L/eI
V2.11
ERS
REVI
e
--.-----~---------------------------------------------
--------------
4.~
ADPFNulA
g -
I~L
~ALHINE
BREAKOUT
4.1.3
~UOL
~ODUL~
~-.----------------------------------------------------
-------------
Syntax
I
replace
m~aule
d~claratlon.
<mojulc_Jeclaration>
11=
MODULE
[[<code_attribute>]1
[<mooulll_Identifie,.>l
[1<prongs>)I
<d~clardtlcn_llst>
HJOENO
[<~Odul~_identlfler>l
Examp
"el
"DULLE
tCJOEI
IPL))
mover;
PPOC
~o~~
(VAL
from,
tol
uAODRtSS)
VA~
g~pr~e
~
AKRAY
[0
••
10)
CF
.aYTEI8,81;
Pi.OC(NIJ
mOIl~;
MODE,W
mover;
4.1.4
COJL
ATT~lBUTE
INHERITANCE
The
coje
attrIbute
follo~s
normal
SWL
block
structure.
Thus
any
;olo;]ule,
proce1ur~,
or
block
declar-ed
within
a
code
lIIodule,
oroc~aur~,or
block
~lsoim~licitIY
has
the
COde
att,.lbute.
M;chin~
d~t~
types
are
D,.ovld~d
to
allo~
the
use"
of
lIIachlne
jepend~nt
data
within
~tructured
types,
variable
declaration,
end
most
other
nIce
p'laces.
<m"t/',ne_t"tPa>
11=
<byte_type>
I
<bit_type>
<descrIptor_type>
I
<"ddress_tyoe>
M,cnl".
tyocs
are
av~llable
In
the
lorm
of
built-In
type
aec
I ",r,J,
ion
s.
A
bVI~
,yo~
Jefln~~
a
tvpe
that
is
allocated
on
a
byte
(eight
l",')
l>;)u"ld"ry ..
,h]
is
an
In,~!:r,;ll
nUffDer
of
bytes
lonil.
The
type
a.fi~ition
c~n
sopclly
~
more
rigarous
alIgn~ent
(2,
4,
0"
8
0"
Ie'
).
NCR/CDC
PRIVATE
IPL-SOFIWARE
ENGlhEERING
SYSTEM
ISWL/CI V2.0
ERS
.
09/01175
REVI
B
--------------------------------------------------------------------
4.0
A?P~IiOIX
0 - IPL
MACHINE
O~fAKOUT
4.1.5.1
Bytu
Type
--------------------------------------------------------------------
<oyte_alignment>
11.=
1 J 2 I ,. J 8
E
..
amplel
TYPE
one_worO =
tOYTE(8,8I,
decimal_string
=
.8YTE(25&I,
half
wore
=
'8YTECIt,4),
character
=
'OYTEel);
"8
bytes.
Word
aligned
....
"256
bytes.
Byte
aligned."
"4
bytes.
Hallword
allgned."
"1
byte.
Byte
aligned."
A
bit
type
defines
a
Ilxed
lungth
bit
string
aligned
on a
bit
ooundary.
lhe
len<]th 01 a
bit
string
Is
a
maXimum
of
&4.
.
An
address
type
Is
a
full
virtual
address.
It
is
def
Ined
as
a
record
to
allow
the
individual
fields
of
a
virtual
address
to
be
re
f
erenced.
<address_type~
11=
.ADDRESS
UDDRESS
is
eQulv
.. len.t
to
the
lollowing
record.
tYPE
IAJO~ESS
=
IoIECCRO
rl
n
3_
n
um
se'l_num
byte_num
REClNrH
.BIT
(4),
.OIT
(12),
'BYTE!41
NCRlcac
PRIVATE
IPL-SOFTWARE
ENGINEERING
SYSTEH
lS~L/CI
VZ.O
ERS
09/01175
REVI
e
-----------~---~---------------------------------------
-------------
4.D
APPFNOIX
H - IPL
MACHINE
BREAKOUT
It.l.5.4·
Oeserlptar
TYPe
---------------------------------------~-----~--------
-------------
Two
Oeserletor
types
~re
provided
to
oeflne
the
halfword
and
f
...
llworo
·b.:lo
Jl'scriptors.
c.Jes<.riotor_tvpe>
11=
DUE:iCI{H
I
tOESCRF
The
.:leser'lotor
tYPes
are
eQuival
ent
to
typ
es.
TYi'"
UDE:.CRH
P4I:K;:
0
REC
ORO
10rm.Jt I
'BI!
(11,
~um~y
I
601T(21,
length
I
#8IT(QI,
01
I
set
I
HBYTE
1<!,21
R.t::c
EN
0
tlOESCI\F
=
PA:;KEO
RECORD
d~ser
I
UOESCRH,
inje~
I "BYTEI_.41
RLl:ENU;
the
follooelng
record
The
U5~
of
these
types
In
SWL
statements
and
exoresslons
Is
limited
to
t~~
Js~jJnmunt.
eauality,
and
IneQuality
·operators.
Arit~mctic
eXDr~ssions
eontainlng
machine
types
are
not
allowed.
HdCl'line
tyo"r;
C'ln
be
addressed
in
tne
same
way
that
norlllal
SWL
.j'l''''
tvoes
C,ln
U~
31dressed
!i.e.
used
as
REF
parallleters,
non-lOCi.!
tv
dSSignal
to,
etc.1
A~
~ld~t!~t3ry
machin~
eitl'··r
jl'tt:'jer
vdlues
"mel
ion.
t(oe
(DOIl
or
tlBYTElls
conforlrable
to
ar
the·
results
of
the
me~ory
built-In
An
el~m.nt
01
tvoe
nAUDRESS
Is
cenformaole
to
a
direct
poinfer
V..lI
u
.•
A"
"Iemelltot·
type
UDO~lSS,
tOESCRH,
or
'DESC!<F
can
be
eonformdb'~
with
an
aggregate
(value
construetorl
containing
NCR/'::J::
PRIVATE
IPL-SOFTWARE
ENGINEERING
SYSTEM
09/01175
ISWL/CI
VZ.O
ERS
REVI
B
--------------------------------------------------------------------
~.O
AP~£NOIX
d - IPL
MACHINE
BREAKOUT
4.1.5.5
Macnlne
TYDeS
In
EXDressions
-------------------------------------------------------
------------~
values
to
set
the
'BtT
and
'BYTE,type
fields.
4.1.b
MACHINE
STORAG~
CLAs~ES
<reg_class>
11=
.Xi<EG
I
.AREG
<reg_number>
11=
<Int_con>
I
<int_con>
••
<lnt_con>
A
variable
declared
with
the
.FAST
storage
class
resldes,ln
II
hardware
register
whenever
possible.
It
Is
loaded
into
a
reglster'~henever
tne
variable
is
referenced
and
wll I
stay
in
the
register
fl
Ie
until
the
register
Is
reQuireo
for
another
purpose
by
the
compiler.
Since
a .FAST
variable
resides
In
the
register
file.
the
jats
tYPi!
of
the
variable
must
be
such
that
'the
variable
,,111
flt
In
a
regl;;ter.
The tYDe
of
register
to
"hl~h
a
~FAST
variable
Is
assigned
Is
a
lunctI~n
of
the
varlabla's
dat3
type.
A
direct
pointer
type
or
a
'AUD~E~S
tYPi!
wll
I
De
assigned
to
an
A
re3Ister.
While
al
I
other
.FAST
variables
will
be
assIgned
to
X
registers.
Slnce
registers
are
not
aodressable
as
virtual
memory. a .FAST
varIable
can
neither
be
made
tne
object
of
l
pointer
nor
can
it
De
D~SSeJ
by
reference.
Tne .FAST
stora1e
class
Is
simIlar
to
the
automatic
storage
class
In
that
".FAST
variable
Is
initialized.
and
Is
allocated
UDon
elaborCotion
of
the
declaration.
A
fast
varlaDIi!
can
onlY be
locally
referenced.
!PL-SOFIWARE
~NGIN£ERING
SYSTEM
I'iWL/CI V2.0
EllS
4.0
AP~~NOIX
U - IPL
MACHINE
BREAKOUT
4.1.6.1'F~st
Storage
Class
elC3"'olel
vAR
in.luctionl
[.FAST]
0
••
255
1=
lexical_level.
09/01175
REVI
B
link
I (nFAST] -
s.tack_frame
1=
current;
FO~
inauction
1=
Inauctlon
DOHNTO
0
DO
Ilnkl,=
Ilnk-.ola_llnk
FORENO
A
variatl~
d~claratlon
containing
a
register
storage
cless
sDecificdtlon
ooes'
not.
In
fact.
result
In
stora~e
allocation.
It
m~rely
dssoci~tes
II
vari~ble
name
and
data
tyee
with
a
D~rticuldr
register
or
class
of
reqlsters.
The
actual
allocation
of "
h~rdware
register
to
the,
register
variable
is
accol!IDIlshed
with
the
L~C~~lG
and
FRE~REG
m~chinestate~ents.
If
a
re~Ister
number
Is
provided
in
the
register
storage
class
so~ciflc"tion
then
th.:ot
partIcu!"r
register
will
Iile
assigned
to
the
v3ri31j1~
..
h"n
It
Is
lock(>d.
If
a
suorange
dol'-initio"
Is
orovioed
as
tne
re~ister
numDer
then
a
register
wh~~e
number
Is
~n
ele~cnt
of
thdt
suor3"ge
wil
I be
assi~ned.
Otnerwlse
any
ilvailublp.
re',Jlster
of
the
correct
class
(fX
or
.AI
will
be
allocate'J.
Since
a
re1i~ter
variable
never
resides
in
virtual
me"ory.
It
Cdn
not
be
initialized,
can
not
be
made
the
object
of
a
pointer.
can
not
(I('
passed
by
reference,
and
can'
only'
be
locally
ref~renc~u.
Tne
Jdta
tYDe
of
the
v3riaole
must.
of·ccurse.
be
sucn
thgl
the
vJriablewill.
In
fact.
fit
in
a
register.
'
4.1.f
MA~HINf
STATEMENTS
M;chin~
sfat~ments
dO
not
101
low
nor~al
SW(
syntax.
:>t3tell1err
Is
'all
unlaoe'led
state",ent
that
starts
exclamdtion
:lI3rk,I'!'1
and
enos
In'
a
semi-colon
1';01.
A
lBachlne
Icl
th
e~
TI'ere
a'-e
two
classes
of
/t.acn~ne
statements.
dlractlves
and
Instructions.
Oirectlves
are
defined
to
coord
Irate
the
~llocuti)n
of
rolsou"ces
and
implicit
code
q"neratlon
between
the
pr~lrd~mer
)nJ
tne
C3moller.
Instructions
result
In
the
~e~arati~n
of
soeclflc
,~acnlpe
InstructIons.
'
NCR/CDC
PRIVATE
NCR/CDC
PRIVATE
IPI.-SOFTIIA~E.
ENGINEERING
SYSTEM
ISIIL/CI
V2.0
ERS
1t.0
APPfNDIX B - IPL
MACMINt
OREAKOUT
1t.1.7
MACHINE
STATEMENTS
<operator_lit!!
d>
11=
<operator>
{,<Quali
fler>}
<operand_list>
11=
<operands>
(,<operands>}
It-a
09/01175
REVI
I!
<operands>
11=
<operand>
I
[<operand>{,<operand>})
<operator>
11=
<instruction_mnemonic>
I
<Quallfler_mnemorlc>
The
LOCK
REG
and
FKEEREG
directives
provide
a
mecharism
for
reservat"ion
ano
allocation
01
Physical
registers.
ThQ
statements
are
the
only
method
available
for
coordinating
register
reservation
bet~een
the
programmer
and
the
complier.
The
LOCKPEG
statement
reserVdS
registers
and
ensure~
that
the
co~piler
does
not
use
the
locked
regisfers
for
t~e
generation
of
SHL
code.
The
registers
remain
lOCked
until
the
registers
are
freed
with
the
F~EEREG
directive
or
wnen
the
comoller
encounters
tn'e
end
of
th"
st"t~ment
in
"hlch
th~
LDCKREG
di
rective
occured,
~hlchever
cO'lles
first.
If
no
register
list
is
provided
then
all'
the
re"listers
are
locked.
If
insufficient
registers
are
avail
ahl
..
to
the
comoil~r
to
Jenp.rate
code
In
the
accustomed
mann~rt
then
the
orogrammer
must
ensure
th~t
no
SWL
constructs
(oth~r
than
machIne
Instructions)
reQuirin~
registers
are
to
be
cl)'I1PileJ.
The
F~E~REG
statement
releases
the
re~Isters
identifIed
in
the
re31~ter
I1st.
If
no
r~gi:iter
list
is
pr~sent
then
all
the
re91~ters
are
released.
<Iockreg_dlrective>
11=.
LOCKREG
[<register_list»
<register_list>
11=
<re=,_,dem>
(,<reg_elelll»
NCR/cae
PRI
VATE
I~L-SDFIWAQl
ENGIN~tRING
SYSTEM
rsWL/CI V2.0
ERS
1t.0 APPENOr. 8 - IPL
~ACHINE
BREAKOUT
4.1.7.2
LOC~R~G
anJ
FRE~REG
EX3mpiel
VA;;
xO
[1X~I;G(OI]
integer,
d.Jt1,
dat2
I [UAl<lG(S
••
(»]
HOORESS,
nopl,
ba02 I
[IIA~LG(9
••
1511
IAODRESS,
inoe~
I (II}.KEG(2
..
1~)]
0
..
256;
LOCK:;>EG
xJ,
ddt1lSI,
indeX,
bd02(11
••
11t);
F"EE~EG
xO,
index;
09/01175
REIII
B
The
PROLOG
an')
EPILOG
direct
ives
caUSe
the
generation
of
the
corr,'ct
SWL
uralogue
an.1
epilo'Jue.
The
PROLOG
direct
ive
must
uooeilr
"IS
thOe
firs1
executable
statement
of
a
code
procedure
or
coje
olo~R
il
the
procedure
or
block
reouires
the
e~istence
of
the
~tar~arc
SWL
environment.
~achin~
built-in
functions
are
used
1n
machine
declarat10ns
or
5tdtp~~nt~
a~
long
35
the
arquments
can
be
evaluated
at
co~oile
ti"'.:!'
MaChine
huilt-in
functions
can
also
be
used
In
normal
SilL
"
stat~ments.
~.1.f.3.1
JFFSLT
FLlNt;110NS
The
tuncl
ions
descrloed
be
low
can
be
used
1n
lIachine
st~tpw~nls
I~clujinq
in~tructions.
The
functions
return
an
ofts-t
Iro~
~
soecilieJ
base
to
a
specified
var1able.
tlDFol«",rjUment>l,<oase>]I.
Inis
fUllction
r.!turns
a
SIgned
integer
parcel
(t>co
byte)
otls.'t
fro,"
the
bas~
(default
is
the
current
1nstructlon
I,)C4110,,)
tll
tn~
Jr'lU'lle"lt.
E'oth
t"e
arQument
anj
the
base
(1f
or""snt)
must
n.;,
eilher'
o'-ocedure
or
label
identifiers.
IIOFU«ar..,umel't>(,<buSe>]).
NCR/CDC
PRI
VATE
IPL-SOFTWARE
ENGINEERING
SYSTEM
ISIfL/CI V2.0
ERS
4-10
09/01175
REVI
13
-----~.-----------------------------------------------
--------------
4.0
APPEtlOlX
0 - IPL
MACHINE.
BREAKOUT
4.1.7.3.1
OFF~ET
FUNCTIONS
Tnl'5
function
returns
..
sijned
integer
byte
offset
frolll
the
base
Caefualts
to
the
start
of
the
static
area.
constants
area.
ana
stack
frame
for
static
varl~bles.
constants,
and
automatic
vdriaDles,
respectlv~IY)
to
the
argument.
Th~
argum~nt
must
be
either
a
v;lriaDlii
r~f~r
...
nce
or
a
constant.
,Both
the
base
and
the
~rgument
must
De
aligned
tb
byte
boundaries.
'OFaITI<3rgum~nt>[.<base>]).
This
function
returns
a
signed
Integer
bit
offset
in
a
fashion
luent
Ica
I
.,Uh
the
.OFB
function.
Neither
the
base
nor
the
argument.
no~av~r.
i.
reQ~ired
to
be
on
a
ovte
boundary.
4.1.7.3.2
LE.N~lHFUNCTION~
The
functions
descrio~d
belo~
return
the
len~.h
of
the
variable.
'LENGI<v~riable».
This
function
returns
the
byt,e
length
of
the
variable.
'LENGBITC<~arlable>l.
ThIS
function
returns
toe
bit
len9th
of
the
variable.
4.1.7
.3.3
ADO~ESS
FUNCTION
Th~
addreSs
function
returns
the
virtual
~ddress
of
the
argument.
.ADOR
«variable»
4.1.7.3.4
HEHORY
FUNCTION
The memory
function
allo~s
an
arbitrary
hexideclmal
Dattern
to
be
represal'tad
·as
a
constant
character
string
containing
hex
digits
and
blanks.
The
result
Is
left-allgnpd
when
assigned.
BlankS
in
t~e
cnaracter
strlnq
are
ignored.
'HI<constant_strtng».
Examplel
VA
.....
halfl
UIIYTE(4)
1=
8:1('00
FA
BCDE'l;
NCR/COC
PRIVATE
iPL-SOFTWA~L
ENGINEERING
SYSTEM
1~~L/~I
V2.0
ERS
4.~
APPEN~IX
d - IPL
HA~HINE B~EAKOUT
4.1.f.4
Instructions
09/01115
REVI
B
--.------------~--------------------------------------
-------------.
4.
1.
I 5
.!l~>l.ll1i~r:
...
J.Ldl!llll.2!l~
U!I:!E
IIBOOL,
"CON;)
IICOLL
DO
Po
'EXTll
exceotion
Of
fi
e
I<J
'",me;:!
II'IAINT
iUL.iCK
II/lUI'!
I/t'AGrO
/I"
r~latlon
U.)
Ufl:iCR.
n"
TAil
I/LlN
UX
0
chars
A
single
bit.
Th~
condltlon
register.
Colloted.
Douole
precision
real.
Exter-dad
UJVQFLO,
iUNDFLO.or
'INDE~.
full
~ord-.
NfORHAT,OKINO.BLENGTH
••
OFSET.'INDEX
••
F.fH
Half·~ord.
tlALPhA,
IIALPI-1AFILL.
'6IN.
'D'::C
Halntain~nc~
register.
~e~ist~r
Olock.
-
Numeric.
Pago>
table.
R~.!
I.
-
'EQ,
/lGE,
UGT.
ilL!:..
'LT.
'NE.
Suoscr
10 t
eo.
St"t
..
re~i'iter.
Unn:lrmal
ilea.
Register
XO.
Int~ger
constant.
1.2.3.4.5.&.7.5.
4.1.1.~.1
INSTRUCTION
OPER~NO
SYNTAX
uj,
;.K
11=
(
<A_t
..
hle>
(.<A_varlable>]
Q 1
<
0\_
t
.h
I
~
).
<
,,_
V d r
1;;
0
Ie:>
I I =
<''
A_.v
or
I ab
Ie>
NCR/CDC
FRIVA
TE
IP~-SOFTHARE
ENGINEERING
SYSTEM
ISWL/CI V2.0
ERS
4-12
09/01175
REV.
a
---------------------------------------------------------.----------
4.0
APPENDIX
3 - IPL
MACHINE
BREAKOUT
4.1.7.5.2
INSTkUCTION
DEFINITIONS
UY
NU~BER
--------------------------------------------------------.-----------
4.1.7.5.2
INSTRUCTION
UEFINITIONS
BY
NUMBER
I-i;>te
thdt
the
follo"ln9
il'structlon
syntax
does
not
foliO"
norm,,1
SHL
conv~ntlons
In
that
the
square
brackets
appearIng
In
this
sectlol'
are
required
even
tnough
they
are
not
underlIned
In
tniS
section.
NCR/CDC
PRI
VA
TE
IP~-SJFTWARE
LNGrNEE~I~G
~YSTE~
09/01175
ISWL/CI V2.0
ERS
REV.
B
.------~-----------------------------------------------
-------------
~.O
AP~ENJIX
~
-
IPL
HACHINE
B~FAKDUT
"4.1.7.5.2
INSTi\UCTION
DeFINITIONS
BY
NUMBER
--.-------------------~-------------------------------
--------------
£~E
...
__
N1!
...
_
!:!~
t!L!t!Q-illI.!I...lEliSS
~Jl~
1
LOAll.CHA~S
XK.
[A
I ,
Xl,
d 1
2
LOAU,(;HA~S
Xk
[A
I
,Q
I
3
STORE,Ct'ARS
Xk,[AI,Xl,dl
4
STO,{E,Ct'ARS
Xk,[AI,Cl
5
LOAD
Xk,[AI,Xl,dl
6
LOAD
Xk,[AI,Ql
7
STO~E
Xk'[AI,Xl,dl
~
STORE
Xk,
[A
I , C I
q
LOAD,XO
Xk,
[AI
,Xl,dl
1U
lOAO,XQ
Xk,
(A
I ,a I
11
STORE,XO
Xk,[AI,Xl,dl
12
STORE,XO
XK,
[A
I
,a
I
13
lOAu
,C
HARS
Xk,[
'?,
Cl
14
lOAO,BDOl
Xk,[AI,Cl
1<;
STORE,aOOl
Xk,
[A
I
,Q
I
16
lOA;)
Ak,(AI,Xl,d]
17
LOAD
Ak,[A),Ql
1P
STO~E
Ak'[
AI
,Xl,
dl
19
STO~E
Ak,[AI,
Ql
20
lOAJ,MULT
(A
I
,I(
1
21
STOKE.I'ULT
( A I
,I(
I
2.""
A:)D
XK,Xl
tlCR/COC
PRIVATE
4-14
I~~-SOFTHAKL
~kGIN£E~ING
SYSTEM
IPL-SOFTWARE
ENGINEERING
SYSTEM
ISII,-/';1
V2.0
El<S
09/01175
--------------------------------------------------------------~~!-~
4.0
APP~NOIX
J -
I~L
"ACHINE
BREAKOUT
4.1.7.5.2
i~ST~UCTION
JEFI1ITIUNS
ey
NUMBER
-
ISWL/CI
V2.0
ERS
09/01/75
--------------------------------------------------------------~:~!-~
4.0
APPENDIX
6 - IPL
MACHINE
BREAKOUT
4.1.1.5.2
IN~TRUCIION
DEFINITIONS
BY
N~MUER
.-------------------------------------------------------------------
--------------------------------------------------------------------
E'-L-UQ.....
tl!~_!Ull_~A1lElfR.s
lLeEBAl:!IlS
t£.£-,-_~!h_
~ll£~ll_QU81lElfSS
~.Q.s
44 B
RL
E
,H
xI,xl<,a
23
SUB
Xk,Xl
4!>
OOLOOP
XI
.XI(, a
24
MUll
lCk,
XI
4&
BR
AJ,AI<,a
25
DIV
Xk,
XI
47
B"-
(IP,Xl<l
2&
ASS
Xk
,XI
48
BR
AI,Xk
21
AOO,H
Xk,XI
"g
COpy
Xk.
XI
28
AOotH
lCk,(XI,a]
50
COPY
Xk,AI
-
29
ADD
,fi
Xk,
I
51
COPY
Ak.
AI
30
SUB,H
Xk,
XI
52
-COpy
AI<,
A J
.H
SUBtH
Xk,J
53
COPY,H
Xk,
XI
32
MULTtH
Xk,
XI
:>4
ADO
Ak,
[41
,a]
33
MULT,H
Xk
,eX)
,Q]
55
ADO',P
Ak,
[XI
,a]
34
DIV,
H
Xk
,X)
5&
ADO
Ak, a
35
CoMP
Xk
t
XI
57
COPY,H
Xk,1
3&
COMP,H
Xk,
XI
58
CUPY,H
Xkd
37
BREQ
XI,Xk,Q
59
COPY,EXTO
Xk
,a
36
BRNE
XI
t
Xk,Q
bO
COP
Y
,X
0
IK
39
BRGT
XI,Xk,Q
01
COPY,SIGN
XI<,
I
40
BRLE
X
I,
Xk,
Q
&2
!.:OTATf'"
Xk,X).
(XI,d]
41
BREQ,H
xl,Xk,a
&3
SHIFT
XI(
, X I
,(
Xl,
d]
42
BRNE,H
XJ
dk,
a
04
SHIFT,H
Xk
,XI,
[
Xl,
d ]
43
BI?GT
,H
XJ,
XK,Q
0<;
OR
Xk,X)
NCR/CJC
PRIVATE
NCR/CDC
PRIVATE
4-16
IPL-SOFJWARE
ENGINEERING' SYSTEH
ISIfL/CI
VZ.O ERS
09/01175
---------------------------------------------~---------------~:~!-~
4.0
APPENOIX B -
IPL
~ACHINE
BREAKOUT
...
1.7.5.2
I~SrRUCTrON
UtFINITLONS
BY
NUHBER
..
------------------------~
...
----------------------
..
-----
...
--~
...
-
..
------
."
~U.lU..
&6
&7
&8
&9
70
71
72
73
74
75
76
77
78
79
80
81
82
83
64
85
86
117
1l!!:1L!lliUlUAillll!iS.
XOR
AND
NOT
INHIB
MASK
ISOLATE
INSERT
HOVE
ADO
SUB
MliLT
OIV
SCALE
SCAlERCUND
N/A
.
N/A
N/A
COHP,U
EC
COMP
COH?
,COll
SCAN
N/A
Xk,
XI
Xk,Xl
Xk,
X)
Xk,
XI
Xk,
(X
1,
d J
Xk,X),(Xl,dl
Xk,XI,(Xl.dl
Ak
,AI
Ok
,DJ
Ok,DI
Ok,O)
Ok,DI
Ok
,D)
Dk
,D)
Ok
,OJ
Ok,DI
Ok,OI
NCR/CiJC PRIVATE"
I PL.-SOFTHA
R':
E NGINL.ERING S
YST
EH
IS>lL/CI
V2.U ERS
09/01175
__________________________________
~____
_ REV- e
".0
APPI'1I01X
iJ
-IOL 'i4l;HWE.
BREAKOUT
-
------------------------
".1.7.5.2
INST~UC'IO~
OlFINIIIO~S
OY
NUMSER
.--
----
--
--
---
..
---
..
------
----------------------------------------
=.~t.~~i!..r._
ll!~k_atla_~!~l~as
~~.s
311
TRANSLATE
Ok,DI
'119
HOVE
Ok",OI
90
N/A
91
Eorr
Ok,OI
92
~IOVE,NUH
Ok,D)
93
N/A
9,.
HOVE,field,fleld
Ok,D)
95
AOO,fleld,f1eld
Ok,OI
9&
CALCSUS
Ok,n)
H CONV,R Xk,lCI
98
CONV
Xk
,XI
99 ADO,R
Xk,XI
1~
0
SUB,R
Xk.
XI
10i
AOD,R,UN
Xk,
XI
102
SUB,R.UN
Xk
.XI
103
HUU,R
Xk,
XI"
10,.
DIV,R
Xk,X)
1J5
AiJO,DR
XI(
,XI
lU6
SU!!,DR
Xk,
XI
107
HULI,OR
Xk
,l(1
1~1I
OIV.OR
XI(
,X)
lag
90<E')""
XI,l(I(,(l
NCR/COC FRIVATE
1PL·SOFTWARE
ENGIN~ER1NG'SYSTEH
1SIfL/CI
V2.0
ERS .
09/01175
-----------.------.-----------~-------------------------------~:~!-!
It.O
APPENOI)( B -
IPL
MACHINE.
BREAKOUT
.
~.1.7.5.2
INSTRUCTION DEFINITIONS
BY
NUMBER
.
~--------------~-~------------------------------------
--------------
Bf.L..._!:!~
~!~-AtlQ~~I~S~
110
BRNE,R
111
BRGT,R
112
BRLE,R
113
BR.axceDtlon
114
COHP.R
115
CALL
11&
CALL
117
RETURN
118
POP
119
N/A
120
EXCHANGE
III
ERROR
122
INTRPT
12.$
INT,<PTP~OO
124
LOAD
.CLEAR
125
COMP
12&
COMP.flAG~
127
LOAO,PAGE
128
N/A
129
N/A
IJO LOAD,:;TATE
131
:iTO~E.
SlATE
XI.Xk,Q
XIt
Xk,Q
XI,Xk,Q
Xk
,a
XI
,X~
[U.dl.AI,Ak
[
~P,
QI
A I , A k
J,Xk
Xk
?
Xk
.A)
)(1.Xk
llK,XI
llk.
Xl
.
NCR/C~C.
PRIVATE
"·19
IPL-S~FrHAR~
eNGINEERING
SYSTEM
bilLlCI
V2.01
fPS
09/01/75
----------------.--.--~---------------.-------------------.-~:~~-:
4.0
APPfNOIX R
~
I~L
HACHINl
BREAKOUT
...1.1.5.2
I"IS'f.'U';lION
~EFIIHTION::;
BY
NUI'S';:R
--------------------------------------------------------------------
Ell.!.--:ill. ....
13i!
13J
13~
US
13&
137
13t1
139
140
141
142
143
144
14!>
140
147
148
149
150
151
t!A!1LA.!!lLm.!!l.lElfR;i
LOA.J,11AINT
STORE,
MAINT
BR,CONO
N/A
KEYflOINT
N/A
PURGE
ALGORITHM
" N/A
N/A
N/A
Aon,IHH
COMP
CON'I,,,elatlon
STO~E.fleld
LOAD,
f
hid
AOD,fielj
SUil.fleld
AND
OR
Xk.
XI
'
Xk,XI
JK,Q
.
Xk.[XI
,0.]
A)
,AI<
Xk
Ok,XI
Xk.DJ
Ok.
X)
Ok
,XI
Ok.D}
Ok
,01
NCR/COC
PRIVATE
It-20
LPL-SOFIH4RE £NGINEERING
SYSTEM
09/01175
ISHL/CI
V~.O
ERS
REVI
e
--------------------------------------------------------------------
4.0
APPlNOlX R -IPL
MACHINE
8R~AKOUT
".1.7.5.2
INSIRUC1ION DEFINITIONS
BY
NUMBER
E..EEL-ll!h_
UA~~_QY!l1fjEE~
~f.EAl:lD.s.
152
XOR
Ok,OJ
153
NOT
Ok,
OJ
154
COPYtIHHEO
Ok,a
155
COMP,It'MEO
Dk,Q
156
AllO,
IHHEO
Ok
,a
157
LOAD
Ak
,01
158
LOAD
Xk,OI
159 STO'lE Xk,O
This
sectIon
describes
corrections
to
the
IPL
Hachlne
Breakout
melllo
(see
sectIon
entitled,
"IPL
MACHINE
D~EAI(OUT"
(REVISION
81)
~.2.1
HACHINl
U~EAKOUT
CO~RECTIONS
-
<byte_a
Ilgnment>
11=
2Hn
(whpre
0
.i
n
.i
6)
(Tne
••
operator
is
the
eXPOnentiation
oper3tor)
-
<blt_tyoO!>
11=
.BIT
«bit_length>[,blt_olfset>ll
<blt_len~th>
11=
<posltiv,,_irteqer_constilnt>
<oit_offset>
11=
<positive_i~te'ler_const~nt>
(from
byt"
bouno~ryl
«bit_lenyth>
+
<bit_offset.
! &4l
TYPE
'UE.>CR
PACKED
RECOKO
format
IUOlT
(11,
NC~/COC
PRIVArE
IP~-~OFTWARE
ENGINlERING
SYSTEM
09/01175
ISWL/G
1
V2."
ERS
REVI
B
---------------------------------------------~-------------
---------
It.O
A~Pc"~I~
B - IPL
MAChINE
BREAKOUT
It.2.1
~.lCriI;lt::
[j;.:t:AI{OUT
I.OR"ECTIONS
--------------------------------------------------~----
-------------
dummy
I
#'3IT(2l,
tag
I
#IHT<4l,
I en'-lth I
#3IT
('ll,
offs~t
;
HOyte(2,2l
RL
CEr,.!
-T"o
IU'nctlons
have.
heen
atJde";
.TOFS
and
fTOFBIT.
These
functlon~
are
an~ID~ouS
to
the
functions
'O~S
and
'OFBrT,
witn
th.?
exceotion
that
the
first·
arsu'IIent
Is
a
tyee
identifi~r
01 a
record
definition
and
the
seco~"
ar9u~ent
is
3
fi.?ld
identifier
01 a
field
wIthIn
the
record.
nrOFfl
(<tYDi!_id>,<field_lc"ntifler»
HTOFBIT
«tyo~_id>,<fleIJ_i"entlfler>1
<li~IJ_id~ntifler>
11=
<ioentifler>
<tyoe_ij>
:1=
<tyoe
iddntifier>
<tyo,,_id.,ntifier>
n=
<1:Jentlfler>
-Tn" 10110,,1n'1
correcHon,;;
pertain
to
the
section
entitled
"In~tructio"s"·.
withIn
the
"IPL
Hachln~
Breakout"
c.Joper~ji
x.
-The
lollowing
QUill
ifiers
should
be
added'
o
~1U~
T
IIIHM
II~
lIS
IGN
H.JEC
II;ET
J,K,o,Q
1=
<integer
constant>
-
All
uop~r
cas.e
Qualifiers
shoula
be
preceded
by
the
ch~r~ct~~t
numb~r
sign.
-
All
cccurr~nces
of
the
uooer
case
string
CHARS
should
be
r~plbc"d
Oy
the
low"r
c~sa
string
chars.
-
All
occ"rr,mcesof
the
string
B,LE
should
be
replace::!
by
'PG!:.
-
F~r
rpfprdnc.?
nu~b"rs
54
throuqh
5&,
t~e
name
Should
be
cn~nye~
to
AODA.
-
FJr
rel
..
rence
nU,lIber 5&,
the
ooeranCls
should
be
Ak,XI.
-
For
rpf"rencO!
nUfTo"rs 57
through
&1,
the
name
Should
be
IlCW./COC
PRIVATE
IPL-SOFTWARE
E~GINEERING
SYSTEH
09/01175
ISI/L/CI
Vl.O
ERS
REVI
I!
--------------------------------------------------------------------
~.O
APPENDIX
~
-IPL
HACHINF
BREAKOUT
.~.2.1
MACHINE
BREAKOUT
~O~~ECIIONS
'-----------
..
------------~------------.-------~--------
--------------
t::IIlER.
-Feir
reference
number
57,
the
Qua
IH
l.er
shOuld
be
POSe
-
for
rl!'e,.ence
numoer
56,
the
QUa
11
fler
should
be
NEG.
for
r"f
erence
numbe,.
52,
the
ooerdnds
should
be A
k,
X
I.
-
For
refe,.e
nce. numbe.,.
67,
the
oOl!rands
Should
be Xk,X
I.
For
reference
number
95,
the
name
and.
QualIfIers
should
be
AUD,fleld,fleld.
-
For
reference
nu~be"
112,
the
name
should
be
BRGE.
-
For
reference
number
113,
the
quail
fler
should
be
exceptIon.
-
For
reference
number 1210"
the
qua
1111er
should
be
SET
and.
-the
oo.,,.al'lds
should
be
Xk,AI.
-
For
ref
e,.ence
numbe"
122,
the
operands
should
be
Xk.
-
for
reference
number 13&,
the
operands
should
be
Xk,I,Q.
-
For
ref
erence
number
138,
the
ooerands
should
be Xk,
Q.
-
For
refe"'l!nc~
number
139,
the
name
and
Qual1tlers
shoulo
be
ALGJQITHM,Chdrs,
an:;!
the
ope,.anos
should
beAI
,Ak
,a.
-feir
reference
riumber 1105,
the
qualIfIer
does
not
allo~
~II
possIble
I
soeclflcatlons.
For
reference
numbers
150
through
153,
the
ooerand
fIeld.
should
be
AI,Ak.
-
fo~
reference
numbers
1510
through
15&,
the
Quallfle,.
should
be
lower
case
Immed.
-
For
reference
numbi!r
159,
the
ooe"ands
shoula
be
XI,Ok.
-
For
reference
numoer
153,
the
n~me
should
be
M~C.
NCR/CDC
PRIVATE
Ij>L-SOI' I
HAQC:
I::NGIN£ERING
SYSTt::H
I~wL/~r
v~.u
ERS
5-1
09/01175
REV.
e
------------------------------~-----
..
----------------.-~----------
5.0
APP[NOrX
C -
COMPILATION
ERRORS
This
section
contains
the
oeflnltlon
of
the
comollatlon
error
code~
outout
by thi!
passes
of
thi! ISWL/CI V2.0
complier.
tne
err~r
messa9~s
generated
by
PASS
I
immedlatelv
folio.
the
source
lIne
in
~hich
the
error
occurred
on
the
outout
listIng
(Sole
seclion
entItled,
"CG!1PILEI{
OUTPUT'"
and
are'
of
the
foll')wlr.g
f orrnl
••••••••••••
error
code
Thi!
table
below
Clssoc1ates
e"ror
.COdi!S
",ththelr
.:Iefinltlon.
In.!
lot31
"umoar of
PASS
r
errors
whiCh
Is
detected
15
written
onto
tne
listin~
flip
in
the
followl,.g
form.
1
2 I
. 5 I
,.
'.)
b
7
6
q
10
11
12
11'
1"
lb
1~
1.1
£!.J
21
x
f~=JkIS'
HEQE
JfTECrEO
~c'IJr
Tvo~
or
TVDe
Identifier
expected
IdentifIer
exoected
Er,.or
In
value
punctuatIon
'I·
"XD.!Cled
.,.
i!l<ooi!cled
Ille~~l/unexoi!cti!J
symbol
lrro~
in
Ybr1met~,.
lIst
CF·
eXD"cti!.j
'('
eXpected
11
I
e'I"
I I v D
~
, (
••
'XD.PC I e'J
.]'
exo"ct
at!
·E·~D·
.,,:!1(n\!ctl~d
.;.
eAu·\!ctp~
='
l~xp~cteJ
·Ji._(~::r
..
~)·
~Xot'c'fed
l~".;r
I')
r-i~1
lllst,
Idi!ntlfier
.or
·CASE·
expected
'.'
~xpectt?J
'!i·lDuLt'
eXD~cte~
NCR/CLlC
.PRIVATE
IPL-SOFTWARE
ENGINEERING
SYSTEM
ISIIL/CI
V2.0
ERS
5.0
APPENDIX
C - COHPILATIUN
ER~ORS
5.1
PAS~
I
ERROR
COOE
OEFI~ITIONS
5-2
09/01175
REVI
B
-----------------"------------------------------------
~-------------
22
Z3
Zit
2!)
2&
21
24
2~
30
Jl
32
33
31t
35
36
37
I
3d
39
40
41
I1le,)al
Slimbol
or
Semlcolol"
"'''1'
not
"IFENO"
~xpected
"WNILENO"
expected
"LOOPE~a"
eXD~ctej
"FOW[UO"
~xpectea
"CASe-Nil"
expect
ed
Punctuation
aooea~
ln
comment
"$"
or
"'"
expected
"I',<OC;
(E:O)"
e.<p
ected
CYCLE
ta~3et
not
repetitive
Invalid
attribute
EXIT
I"ot
p~operly
contained
"C~AHHEU"
expecteu
.
C~~mmea
st~uctu~ed
must
be
A~rav
or
Record
""""
expe·ctea
.-.
exp~ctea
.
TIiPe
Ioentifler
expected
C3~llicti~j
Att~lbutes
.
VQrl~ble
bounds
in
statiC
domain
illegal
Aaaptable
or
Bouna
Vdrlant
tllpe
In
parameter
list
O~
adaota~le
poll"ter
object
only
42
:43
44
50
51
52
53
54
55
56
59
&0
61
6Z
63
':19
I
Fedture
lIlegaloutslde
REPOEP
procedures
100
101
102
103
104
105
10f)
107
10~
110
111
I
Illegal
P~ONG
class
.
l1acnlr'e
types
Illegal
without
CODE
3tt~lbute
E~~o~
in
constant
.,="
expected
"THEN"
exP'!ctell
"U~TIL"
~xo~cted
"00"
exPt'cted
'TO/DOW~lO"
expected
E~~or
In
f ..
cto~
Dynamic
v~rlaole
~etd~ence
Illegal
In
this
context
Inconsl!.hnt
module
identlflcatlon
o~
nesting
PROUG
~at
declared
Illegal
v~~I~ble
refe~ence
Illegal
label
punctuations
Value
excee1S
~ange
Assignm~nt/In!.lux
range
erro~
Hultiple
aeclaratlon
of
Identlfle~
Lawe~
Boun~
must
be
less
than
Upper
I~entlfie~
~ot
of
aoproo~l~te
class
Ul"oec
la~ej
Identilie~
SI.n
nat
pcr~lttea
tI'J'!Ib~r
exaecte.:l
typ,,',
structlJ~e
Bound
Incompatiole
suorange
lnval
i'J
typ'!
for
this
T~1tiplj
ty~e
must
·be
Selector
Incompatible
Sca
Idr
o~
Sub~ange
with
Tagfield
tYPe
NCR/COC
PRIVATE
l~L-SOFTWA~~
LNGINEE~ING
SYSTEM
09/01175
IS~L/CI
V2.0
ERS
REVI
B
---------------------~---------------~-----------------------------~
5.~
APP[~JI~
C - COMPILAIION
ER~ORS
5.1
PASS
I
E~kOk
COOE
OEFI~ITIO~S
-----------------------------------------~------------
--------------
113
114
110
117
1111
110
1~3
125
1~b
129
130
131
1.l2
1.S4
U5
1Jb
.137
1H
13':l
14D
1:,1
1"2
1"3
II,I,
1;5
.147
1
..
~
1',0
151
152
1 ';0
1601
161
165
lob
17~
171
In
173
II"
17~
171>
1/l
111
1n
1
:j.)
lil
1-12
InJex
Ilioe
must .bp
Non-Real
Scalar
o~
SUbrange
Scal)~
tyoe
"'ust
flot
be
Rea I
E~~o~
in
tvpc
of
sta~card
p~oce.:lure
para~ete~
Unsatisfiea
for"'J~d
~efe~ence
Poi~te~
with
fo~w3rj
RfF
typ~
must
be
fixed
FU~Cli~~
result
must
oe
SC3Ia~,
Subranga
o~
POinter
EQuivale~1
tvoes
in
UNION
declaration
E~ror
in
Iyoe
01
standara
function
parameter
Numo~r
11
v~lue~
.:lOaS
~ot
matc~
decla~ation
fyoe
conlilct
01
ooe~jl"as
Excir'!sslon
l~
not
of
sei
type
Only
trsts
o~
eAu~lit~
al
lowed.
Strict
Inclusion
not
allo~ed
I I
"qal
tYOe
01
oDer-ano(s)
Tyn,'
01
ope~an.J
,nusl
be
IJoolcan
or
Set
S~I
ele~ent
must
be
Non-Real
Scala~
o~
Sub~ange
V31ue
InCO~D)tiol~
with
set
element
V~~ldble
~ust
be
01
a~rav
type
Inlex
InC~M~3tlol~
witn
uecla~atlons
Vdri~ole
must
be
01
record
tv~e
T~~e
01
vJri~bl~
~ust
b~
Polnte~
I
II
P'Ial
oar.lm'!Ter
suostltut
Ion
IlIeJal
typ";!
of
loop
cont~ol
va~lable
EXtl~i's~ion
typ"
.ille\l31
lyue
con
II
ict
Type
Inco~Patible
witn
se'~ctlori
e~p~esslon
Suo~inye
tiounlS
must
be
ScalJ~
AS5i~r,mer.r
to
;.t<Jnd3~o
functian
Illegal
A~
..
i'l"m~nt
to
lo~,nal
function
Illegal·
~o
such
flel1
in
this
~eco~d
Hul
tic,,1
in
••
u
c.:oso!
se
I~cto~
I'r",vlolJS
1eclarations
was
not
fo~wa~d
P~oceuure
pr~viou5lV
fO~W3~d
declared
M~tliu~fi"~o
Idb~1
U·l"jeclar~1
c~it
I.bel
Va~iart
t~~
must
be
initialized
t'
.•
CI</C~.m
~I
I~i
bule
i
Ile-lal
on
this
type
1,.lt
i a
Ii
l3t
Ion
i
IIeg31
in
thi
s
context/on
this
tvoe
Valu~
C3n5tructo~
m3Y
contain
"."
onlv
In
InitIalization
V)lu~
TIIg~
inc~mD,tible
with
aeclaration
d3~e
sP~citicalion
~~~ulrej
Cr'm~ed
rBco~a
mu~t
be
lixad
bouno
Hi.Jt~
~:>~cificJti)n
rt!ouir~d
Gel-'C!
..
i~i!
~XCe".1S
,,1(ltl"
5P1!cifiC3tions
EI~~er\t
w~st
D~
f!x\!j
size
r"v.;1
i a
:,.J:J;l
tab
I "
Si.Jorung~
~UJr~I'~@
~~5t
~e
1ix~c
~ound
tor
cra~med
Mu·ltiple/rll~J.;1
vQ~iant,·
varl.:.ble
boun:!,
adaptable
flelds
NCR/CLlC
PRIVATE
IPL-SOFTIfARE
ENGINEERING
SYSTEM
09/01175
:~~:!::-~~:~-:~~----------------------------------------------~~~!-!
5.0
APPENOIX
C -
COMPILATION
ERFORS
5.1
PASS
I
c.RROR
CUUE
DEfINITIONS
-------------------------------------------------------.------------
163
ld
..
185
1a&
187
HI)
iii
9
Bil
191
19Z
1':13
1910
HS
19&
197
B8
ln
ZOl
ZOZ
203
205
20&
207
lOS
20~
Z1il
211
21J
219
··220
221
2Z2
223
2Z't
22~
22&
227
2lel
229··
230
231
232
2.$3
23 ..
2:fS
23.&
2H
236
S~lector
mu~t
be
constant
Invalid
par~ntal
type
for
relatIve
pointer
Invalid
pointer
ObJect
type
Integer
eKpres~lon
expected
Invalid
st~lng
length
String
ObJect
type
must
be
CHAR
ObJect
must
b~
data
typa
Valu'!·
lisT
does
not
m3tch
declaratIon
T~~
value
must
be
constant
I Tag
value
not
in
selector
range
I"Statlc
initi3liz~tion
by
constants
onlv
I
Value
out
01
set
range
(U,.2~5)
AssiJ~m~nt
to
externdl
function
Illegal
Tyoe
of
vdrlaole
must
be
string
SUbstring
len~th
exce~ds
source
length
Assi,]nm"nt
·e
xores'Sion.
root
UNICll
member
Invalid
li:IIO:l "'ember
type
Error
in
constant
-
digit
~xoected
StrJny
in
constant
contains
invalid
~ellmeter
(EOl)
.1
In·te:ler
constant
too
large
Constant
eKpectea
E
xoonent
too
I
arge/out
0
fran
ge
SY>1bol
too
lonq
Radix
no~
numeric
I
Ra1ix
out
of
range
I
Inv
.lid
radix
I
Invalid
1iglt
in
radix
P6~itive
Integer
~xpected
Unknohn
m~chlne
type
Machine
adPendant
construct
illegal
Machine
tvpe
cannot
be
obJect
of
pol~ter
Value
exc,,~ds
reilister
range
for
IPL
Milchine
class
variaoles
cannot
be
PRONG
or
STATIC
I TYoe
incompatible
with
register
class
I
Re~ister
class
may
not
be
Initialized
Fiela
ref
..
rence
to
A~~G
variable
illeqal
Invalid
declaration/statem
..
nt
without
prolog
Type
must
oe
UNION
Conformity
operator
expected
I
II
e1
a I Qua
111
I
er
IlIe~&1
OP"riltionc.ode
111e'jdl
Instruction
format
III~:lal
us.;,
ot
t .. o
oU31iliers
.Varlable
unk~o~n
16cally
V3ri~bl~
must
bereli&ter
~I~ss
Re1ister
oescrLptur
on
loc~
only
Re~istpr
out
of
rQnge
All
re9i~t"rs
locked
(overflow)
NCR/CJC
PRIVATE
IPL-SOFTWA~E
ENGINEERING
SYSTEM
Ii>iL/CI
IIZ.O
EPS
5-5
09/01175
REV
I B
------------------------.------------------------------------.-------
5.J
APPE~OrX
C -
COMDIlATION
ERPORS
5.1
PASJ I
~~~OR
~ilJ~
DEFINITIONS
"--------------------------------------------------------------------
Z3<j
Re~ister
not.
locked
2"U
111"':101 Opolrana
field
In
this
position
~"1
Unrecognlzablol
operanu
field
2~2
Glob~1
reler
..
nce
to
register
variable
Illegal
~"J
MaChine
type
constructors
may
only
contaIn
co"sta~ts
z·...
Ony
v6riant.
r",corj~
mav
be
·bound.
2~n
100
~any·
n
..
steo
SCO~E
environ~ents
?jl
Compi
Ie
time
UiSDI~v
vector
~verf
low
2~3
Relevent
Symbol
lound
39~
Fn.turp
not
SUDDorted
.O~·\
C~mpi
lar
error
lri
lOAUvALU/LOADATTRTO/SELECTOR
"01·1
Compl
I~r
error
in
LOA~
40~·\
Co~pll~r
error
In
lOADAOORESS
"jj.\
C.)IIDiler
error
in
STORE
'to"·:
CO"l1Pi
It:r
error
In
eOATAlOC/lOAOAOORi:SS/SELECTOR
r~1ardi~9
machlnd
classes·
..
05
I
Orlv
m3chin
..
types
here
.
"~(·I
Co~pl
ler
error
,
NOTEI
Tne
error
iOdes
m~rk~d
by
an
asterIsk
indicate
eIther
a
pro~ra~mln3
error
or
a
compi
ler
faIlure.
If
YOU
obtaIn
one
of
these
error
coaes.
first
Deruse
your
Drogralll
for'
oro~rnmmin9
errors;
a~u
If
no
errors
are
ulscovered,
yOU
"Iloulj
use
th~
PSJ.1
BU\l
Reporting
mechanis'II
described
In
the
~ES
User·s
Handbook
to
report
the
proble'll.
The
errur
~t:ss2ges
generated
by
PASS
II
Im~edlatelv
follow
either
thd
"suurce
form"
on
the
com~iler
listIng
file
or
follow
the
mess~~~1
"x
ERRO~(S)
WERf
Dfr~CTEO".
Which
dlso
Is
on
the
listin,,!
Iilu.
Tne
messaqes
have
the
following
generic
fern'-I
"m~';i~;ige
text"
rCa,/E = t>P;.t
COUll
T
VYV
Zl
Z
~'m~S'.iI';P.
.
tt-xt"
is
the
error
mess·;~;"
and
ZZZ
is
the
NLINE'·
field
on
t"<>
comOL
I ..
listinq
Ii
Ie.
(See
section
entitled.
"Colllcller'
.Outo"t",)
Thd
other
inforl'liltlon·
shoula
be
19noreo.
Ire
vario.Js
lo,...",s·
of
"messaoe
text"
ilre
Ilste:!
below.
The
col.)"s
·;ore
nor
IncluJe.)
in
",.ess.lge
text"
and
serve
the
functIon
of
··ncS5l~~
Tdxt"
s~oar~tor$.
··1
:.UT
J~
A;':r.GS
1 A
~~~IST~~
LU~~EDT,qLE
~VERFlOW
NCR/CJC
PR!
VATE
5-6
IPL-SOFTWAQE
ENGINEERING
SYSTEM
09/01175
ISWL/CI
V2.0
ERS
REVI
B
--------------------------------------------------------------------
5.0
AP~lNOIX
C -
CUMPILATION
ERRORS
5.2
PASS
II
E~~nR
COOE
DEFiNITION
A
KEGIST£~
LOCKEu
TABLE
OVERFLOW
.,
RE-ASSIGN
xREG
FAILlO,
CLEARXREG
CALLED
·1
PUSHSTACK
FOUNJ
NO
REGS
·1
HS
I~
lItIAVAILABLt:
5ECAUSE
PROLOG
INHIBITED
41
hO
~EG
FOR
POPS
TACK
• 1
FOPS[ACK
FAIL~U
rkR~COVfRABLY
·1
NO
RLG
tO~
PUSH
41
PUSH?Lv
-
k~G
MOOlL
FAILURE
41
CPlPANO
SlACK
OVERFLOw
41
CPf
RAllO
STA(;K
UNDLt<FLOW
41
POPPING
A
HARK
··1
LOCK<PEG
-
NO
HOLD
OR
PRlASSIGNED
REG
··1
1.0 "c.GISTt:R"
FOR
LOCKAREG
I
~YMdJL
FOR
X
REGISTER
ALkEAOY
LCCKED
I I RlE
FOR
UNLOC(ED
X
REGISTER
I
F~LE
FOR
UNK~OrlN
X
~EGISTER
SYH80L
1
:..YH[JOL
FGR
:.
~E:GISTER
ALI",oor
LOCKED
FR(E
OF
UNLOCKlD
A RfG1STER
Hi':E
OF
UHKNOWIl
A ii.c.GISTlR
SYMBOL
••
,
M~SIGNHENT
OF
X2
FAILED
••
1 0iNCUP -
FUNC
~t:G
UNAVAIL
1
Kt.PLACED
BY
-
••
,
LNKNQHN
X
REG
10
••
,
UNKNOWN
A
~EG
10
·1
HD~c
THAll
O~IE
OPt-RAllO
FOR
FUNCT
ION'
1 OESC.
VA~ ~EG
NOT
8-F
f
ClSC.
TA~LE
REG
NOT
4-5
".
UNLOCKED
RtF£REN~E
TO
REG
10
•••
~OME
FORWARD
LAdEL
kEFfRENCES UNSATISFIED
••
BAD
,'1(JuIFIER
ADO:;>ES:;
IN
RTS
•••
GENCxP
-fUuC RlG
UhAVAIL
1
~ENLX?
-
FUNC
NEG
LOCK~D
-I
LNKNOW1
X~EF
HAHE
1
GENCUP
-
fUNC
KEG
LOCKED
-,
(JUALlFIt.R
INCGRRECT
••
HAKEXAVAIL
STACK
FAILED
41
r.AKLXAVAIL
FAILED
·1
L:Nt.:EFlllt:O
CONST'-!UCr
••
1
OPE~AH)
OVEoFLOH
••
1 NlG.
V~LU~
FOR
UNSI~NEO
FIELD
-I
UUPLICATE
LAOc.LS
I IJHI'1;>LEHfljlED
NOTEI
The
forms
01
"~t!ssaqe
text"
which
are
oreceded
t-y
ar
3sterls~
indicat"
corrpll"r
fallure.
If
yoU
obtain
one
of
these
error
massages.
yOU
should
use
the
PS~
Bug
"eportIng
m~cha"i~"1
Oescrlbed
Ir
the
SES
User's
Handbook,
The
forrrs
NCR/CDC
PRIVATE
IPL-50FTWAR~
(NGINEERING
SYSTE~
ISWL/CI
V?O
ERS
09/01/75
..
------~--.--------------------------------------------------~:~!-:
5.0
APP~NJI(
G -
COMPILATION
ER.ORS
5.2
PA$~
II
l~~O~
COuE
OEFINITICN
-------
..
-----------------------------------------------------------
of
nmdSSdg~
text"
whiCh
ar~
preceaed
by
t~o
asterisks
InOicate
progr~mmer
error
or
compiler.
II
YOU
obtain
one
of
tn~s"
"rror
mo!ssa;Jes,
yoU
snoulO
peruse
your
proJram
lor
cro~r~mmlnq
~rrors
on
line
,ZZZ.
If
no.
orogram~in9
Error
Is
do!tected.
you
shculd
use
the
PSR
3.Jg
I<eoort(ng
","-,chanism
NCR/CDC
PRIVATE
IPL-SOFTHA~E
ENGINEERING SYSTEH
09/01175
ISWL/CI
VZ.O
ERS
REVI
e
--------------------------------------------------------------------
&.0
APPENDIX 0 IPL
ISol
L RESERVElJ
WORDS
A
list
of
reserved
words
15
given
Delow.
Words
preceded
by a
doub'.
asterIsk,
••
,
are
reserved
words
In
the
ISWL/CC
and
are
not
r~surved
words
In
ISHL/CI.
Words
oreceded
bV
an
asterisk,
..
,
are
reserve1
words
In
ISHL/CI and
are
not
reserved
wordS
In
I~WL/CC.
Words which
are
not
oreceoed
by
one
or
two
asterisks
are
reserveo
words
in
both
ISWLICC
and ISWL/CI. . .
·ALIAS
ALIGNEiJ
ALLCCATE
AND
AQr?A'f
BEG
1Jl
·eOUN.O
BY
CAllO
CASE"
CA:'E:lu
CAT
""CLOSE
C()JE
l.OfjST
C()PROC
CP.A!'1t1EO
CP;;.A
IE
CYCLE
··DEF
WE
...
UEQ·JEUI::.
OESI~()Y
DO
D:lrlIlTO
EL:>E
EN..!
."E
NlU;::UI:
"EP1LOG
·"EXECUTE
EXIT
~XTUmAL
"'FILE
FC~
··N
IL
.I'l!
N
/lOT
OF
"ON
··OPE'l
OR
ORIF
. PACK€O
POP
P~OC
PRO(;ENO
·P~OLOG
PIJSH
""uUEUE
RECl::NO
RECOr<O
REF
REL
REP
REPO
EP
I<::.PEAT
Rt:SE T
J.1(SUMt:
I<E
TU
RN
·"REWINO
SL.G:1ENT
St:Q
SET
S!
AC
K
:;
TAT
IC
STRING
""TAG
NCR/CDC
PRIVATE
&-2
IPL-SOFTWA~~
ENGIN£~~ING
SYSTEM
IS;fL/CI
V2.0
EI<S
09/Dl175
...... _ ..
__
..•.•.•.••.
_-----._.-------------------------------~:~~-:
&.0
A~PfNOIX
J IPL
ISwL
vESE~V£u
WORDS
----------------------~---------------------------------
------------
fO~EN;)
.
FOI,!WAP.O
F":F
"FkEI
.
..:EG
'"C,ET
GCTO
hI-
AI-'
IF
IFE;W
III
lASEL
·LOCK~t::G
LOOP
LCO"t:ND
HACI(Q
HAC;;'<JENO
·HAIN
·H"LIi.>IlED
HOJ
HLlUEN!l
HOOlh.;:: .
Il£X T
THEIl
TO
TYPE
U:HOIl
U:-JPACKEJ
U!lTIL
.
·UOR
VAL
VAR
"V5T~ING
"WEOF
W'iEll
IiMILE
WtHLENO
XDCL
XOR
X~EF
NCR/CDC
PRIVATE
IPt.-SOFTWARE
ENGINEERING
SYSTEH
U9/01175
ISIfI./CI
V2.0
ERS
.
REV'
B
---
..
---------------~-----------
..
------
..
------------------------------
7.a
APPENOIX
E -
ASSEMBl.Y
LANGUAGE
DESCRIPTION
------
...
-----_
...
--------------_
..
_------------------------
-
.....
---
..
-~
..
--
..
The
purpose
0'
this
section
Is
to
aescrlbe
the
IPL
assembler
mneumonlcs
output
~y
the
complier
wnpn
the
"C·
comment
t09gle
Is
selec:tea.
(See
sectlon
enti
tl
ed,
COHPILER
OUTPUT
,)
rhe
co~pll~r
identifies
each
sy~~ol
lc
Instruction
mneumonic
according
to
Its
syntax
and
generates
a
1&-
or
32-blt
In,tructlon.
The
ta~le
below
Indicates
the
translation
0'
assd~oler
mn~umonlcs
and
operand
fieldS
to
the
IPl.
machIne
Instructions
(see
IPl.
Processor-Mem~ry
Hodel
Indeoendent
GOSI.
The
flrst
and
seconJ
columns
of
the
table
Indlc~te,
by
reference
nU~Der
and
opcode
respectlvely,
the
lnstructlon
generated
for
the
assembler
m~numonic
In
the
third
column.
The
forth
column
Is
the
operand·
Helj
of
the
instruction
and
specifIes
the
order
from
left
to
ri3ht
of
the
op~~anjs.
NCR/CDC
PRIVATE
IPl.-:'OFTWA'{;:.
t.tIGINEEI<ING
SYSTEM
7-2
ISWl./CI V2.0
ERS
09/01/75
_______________________________________
_
REV!
e
7.a
APPiNDI~
t -
ASS£Hijl.Y
l.ANGUAGE
OESC;I;;;~;----------------------
------------------~--------------~-~--------------~----
-------------
f-----+
______
+
_____
~
_____
+-----
_____
+
I
GOS
I I IPl. I
1
NEF
I
OP
1
ASSE~BLEN
I
OPER~NO
1
NO.
I
COO
...
1
HI'lEUHONIC
I FIELD I
+-----+------+----~------+----------+
1
~01
1
DO
I
LBYXIS
I
S,J,K,I,DI
:.-----+------+----------~+----------+
\ 1
aaz
I
CO
I
LBYl(S
I
S.J,K,Q
1
+-----+------+------~----+----------+
I
J03
I
LIB
I.
SBYXI:.
1
S,J,I(.I,DI
+---
--
+
-----.-+
-----------+ -
---------+
I
00".1
C8
I
SBYXS
I
S,J,<,Q
1
f-----+------+-----~--
___
.----------+
I
OJS
I
AZ·
I
LWXI·
I
J,K,I,D
I
.-~---+-~----.-~------~--.----------+
I U
J&
I:lZ
1
LWX
1 J
~K.Q
I
+-----+------+--~--------+----------+
I
007
I
A3
I
5wxr
I
J.K,I,O
I
+-----+------+-----------t-------
___
+
I
008
I
d3
.1
SWX
1
j,.(,Q
1
+-----+------+-----------+----------+
I
009
I
A4
I
L8YXIX
1
J,K,I,D
I
+-----+------+-----------+----------f
I
U10
1
a"
I
LBY~X
I
J,K,Q
1
+-----+------+-----------f--------
__
+
I d11 I
AS
I
SOYIIXI
J,K,I,D
+-----+------+-------~---+----------+
I
012
1.65
I
SBYXX
I
J.I(,l
I
+
-----t
------+-------_
....
:--
+-----
_____
+
NCR/CJ::
PRIVATE
IPL-SOFTWAKE ENGINEERING SYSTEM
ISWL/CI
VZ.O
ERS
7.0
A~P£NuIX
E -
ASS~MULY
LANGUAG~
~E$CKIPTION
+-----+------+-----------t----------+
I
GDS
I
IPL
I
REF
I
OP
I
ASSEMiJL~R
I OPlRAND
I NO. I
COUE
I
MNUJMONIC
I FIELD
+-----+------+-----------t----------+
I
053
I
Ov
I
CPHXX
I
J,K
I
+-----.------+-----------.----------+
I
054
I
8E
I
~PADD
I
J,K,Q
+-----+------+-----------t----------+
I U55 I
8F
I CP I
J,K,O
I
+-----t------+-----------t----------t
I
056
I
2A
I
AINJ
I
J,K
I
+-----+------+-----------+----------+
I
057
I
3u
I
EXPJ
-t
--
---
t
----
--I
----
---
----
t
------
----t
105~13i::
I
EXMJ
IJ,K
I
+-----+-----~+-----------+----------t
I
053
I
8D
I
EXO
I K.O_
+-----t------t-----------+----------+
I U 6 0 I 3F I E
HL
G I
J.
K I
+~----+------+-----------t----------t
I
061
I
1f
I
EXL
I
J,K
I
t-----t------t-----------t----------t
I
062
I
A8
I
SHXC
I
J,K,
I,D
I
t-----t------t-----------t----------t
I
063
I
A9
I
SHX
I
J.K,I,D
I
+-----+------t-----------t----------t
I
064
I
AA
I
SHH,I(
I
J,K,
I,D
I
+-----t------t-----------t----------+
I 0
b5
I
18
I
LS
I
J.K
I
t-----+------t-----------t-----~----t
I U b6 :
19
I
LD
I
J,
K I
t-----t------t-----------t----------t
I
067
I
14
I LP I J
,K
I
t-----t------t-----------t----------t
I
068
I 1 (!
ILC
I
J,
K I
+-----+------+-----------t----------+
11l6911C
ILWH
IJ,i{
I
t-----t------t-----------t----------+
I
070
I
AC
I 150M I
K,I,O
I
+-----t------t-~-----~--~t----------t
1071
I
All
I ISOX I
J,K,I.D
I
t-----t------t-----------t----------+
I
072
I
A:::
I INSX I
J,K.
I,D
t-----+------+-----------t~---------t
7-5
09/01175
REVI
B
NCR/CDC PRIVATE
IPL-SOFTWA~E
ENGINEERING SYSTEM
rS,",Llcr
V2.0
ERS
7.0
A~PENJIX
L -
ASSEMBLY
LANGUAGE
DESCRIPTION
t-----t------t-----------+-
_________
+
I GllS I I
IPL
I
I
~~F
I
UP
I ASSEM3LLR I
OPERAND
I NO. I
CODE
I
MNEUH~NIC
I
FIELD
+-----+------+-----------+----------.
I
07';
I
12
I
MC
I J ,K
t-----t------t-----------t----------+
: u7,+ I
ELl
I
OS
I
JO,Jl,I(J
I
I I I I
K1,QJ;01
I
.-----t------I-----------+---~------+
I
u75
I
t:l
I
00
I
JO
,J1,KO
I
I I I 1<1,QOt'J1 I
+-----t------t-----------+----------+
. I
016
I
E2
I
DP
IJO,Jl.I(O
I
I I I I
1(1,JO.Ol
I
t-----+------t-----------t----------+
I
077
I
E3
I
00
I
JO,Jl.KO
I
I I I I
1(1,OJ.Ql
I
+-----t------+-----------.----------,
I
OlB
I
E4
t
O~CAL
I
JO,Jt,KO
I
I I I I
K1,QO,Ol
I
t-----I------t-----------t----------t
I
079
I
[5
I
OSCAL~
I
JO,J1,1(0
I
I I I I K
1,.~
0
,Q
1 I
t-----+------+-----------+----------t
I
083
I E6 I OFtOM I
JO,J1.1(0
I
I I I I
K1,aa,Ol
I
I-----I------t-----------t----------+
I
004
I E8 I
~BCOM
I
JJ,J1,1(0
I
I I I I
1(1,00,01
I
t-----i------t-----------+----------+
I
Od5
I
E9
I I I J
BC
OL
I I
JO,Jl.KO
I
I
K1,QJ
,Ql
I
I-----+------t-----------+----------+
I
0%
I
C::A
I
OOSCAN
I
JJ,Jl,I(O
I
I I I I
K1,OJ.01
I
.-----I------t-----------t--------~-+
I Q!ln I
,,6
I
OTRAN
I
JO,J1.KO
I
I I I
K1,OO.Q1
I
+-----t------+-----------+----------+
I OIH I
e.C
I
Ofll1V
I
In,J1,KO
I
I I I I
K1.:20,Q1
I
+-----+----~-+-----------t----------+
7-6
09/01175
REV
I 8
IlCI;!/CDC PRIVATE
IPL-SOFlWARE
ENGINEERING'
SYSTEH
7-i
09/01175
ISWL/CI
VZ.O
EPS'
REVI
B
-------
...
------------
...
-------
..
---------------------------------------
7.0
APPeNDIX
E -
ASSEMBLY
LANGUAGE
DESCRIPTION
--------------------------------------------------------------------
+-----+------t-----------+----------+
I
GOS
I I
IPL
I I
I
REF
I
OP
I
ASSEHULLQ
I
OPeQANO
I
1
NO.
I
cooe
I
HNEUHUKIC
I
FIELD
I
+-----t------+-----------+----------+
I
D9i
1
EO
I
DEDIT
1 'JO,J1,KD I
I 1 I I
Ki,QO,Ql
I
+-----+------+-----------+----------+
I 09Z I
E7
I
DNMV
1
J~,Jl,KO
1
I 1 1 I
Kl;a.),Ql
I
+-----+-----.t-----------,~---------+
1 094 I
EE
I
OTAOMV
1
40,Jl,KO
1
I I I 1
Kt,QO,al
1
'+-----t------+-----------t----------+
I 095 I
EF
I
OOFI
I
JO,Jl,KO
I
1 I _ I I K 1 ,a 0
,I)
1 I
+-----t------t-.---------t----------t
I 090 I
F4
I
DCALSB
1
JO,Jl,KO
I
I I I I
Kl,QO,al
I
+-----+------t-----------t----------t
I 097 1
3A
I
FCFP
I
J,K
I
t-----t------t-----------t----------t
I
ug6
I
38
I
Fcr
I J,K I
+-----t------+--~--------+----------+
I
099
I
30
I
FS
. I
J,I(
I
t-----+------t-----------t----------t
I
100
I 31 I
FO
I
J,
K I
+-----+------+-----------t----------+
I
tH
l.sa
I
FSU
I
J,K
I
t-----t------t-----------+----------+
I
102
I 39 I
FOU
I
J,K
I
+-----t------t-----------t----------t
I 10 3 I
32
I
FP
I J ,0( I
+-----+----~-+-----------+----------t
I
104
I
.33
I
Fa
I J,O{ I
+-----t------t-----------+----------+
I
10,
I
34
I
FSDP
I J
,K
I
+-----+------+-----------+----------t
I
lOu
I j S I F 0 0 P I J
,K
I
+-----t------t-----------t----------t
I
107
I
3&
I
FPOP
I J
,K
I
+-----+------t-----------t----------t
I
103
1
37
I
FQOi"
I
j,K
I
+----~t------t~-~--------+----------+
I
1U
3 I
'~~.
I F[!f.
~
I J
,K,
a I
t~----.---~--t-----------t----------t
NC~/CDC
P~IVATE
7-8
IPL-SOFTWA~E
EkGINEEQING
SYSTEH
D9/01175
I,,"'L/~I
VZ.1l
ERS
REV'
e
--------------------------------------------------------------------
7.~
A~PLNOIX
E -
ASSEM~LY
LANGUAGE
DESCRIPTION
--------------------------------------------------------------------
t-----+------t-----------+----------+
I
GOS
I . I
IPL
I I
I
REF
I
OP
I
ASS~H6LF.~
I
OPERAND
I
I
tiD.
1
COOl:':
I
HtlEUMONIC
I
FIELD
I
t-----+------+-----------+----------+
I
110
I
gq
I
FllN!::
I
J,I(,Q
I
+-----+-.----f-----------t----------t
I
111
I
9A
I
FBGT
I
j,K,Q
t-----f------t-----------t--------.-+
I
lU
I
9"
I
F[JNLN
I J,K,O, I
f-----t------t-----------t----------+
I
113
I
g~
I
FOE
X I
J,K,J
t-----+------t-----------t----------+
I
114
1.3.:
1
FCO:i
I J ,I( . I
+-----.------.----~-~----.-----~----+
I
11;
I
Ab
I
CALLJ
I
J,I(,I,D
t-----t------t-----------t----------t
1 116 I
BO
I
CALLP
I
J,I(,Q
t-----t----_-t-----------t----------+
I
117
I
04
·1
RET
I
t-----+------t-------.---+----------+
I
1161
06
I
POP
I I
+-----+.-----+------.----t----------t
I
120
I
O~
I
EXCH
I
t-----+------f-----------+----------+
I
121
I J J I
PE
I I
+-----+------+-----------+----------+
I
122
I OJ I
INPC
1
j,1(
+-----+------f.----------+-------.--+
I
123
I
10
I I
UP
0 I K
+-----+------+-----------+----------+
I
1241
14
I
LSBT
I
J,I(
I
t-----t------t-----------t----------+
I
12,
I
15
I
COMI
I
J,I(
I
+-~---+------+-----------+------~---+
I
1~6
I
10
I
TPG
1
J,I(
t-----t------t-----------t----------+
I
127
I
17
I
LlJGT
I
J,K
I
.f-----t------+-----------+----------t
I
UO
I
OE
I
CS~.(
I
J,K
I
+-----f------t--~~-------+----------+
I
131
I
OF
I
CXSR
I
J,I(
+-----+--~---+-----------+----------+
I
132
I
08
1
CCHRX
I
j,K
f-----+------+------_----t----------+
NCR/C!)C
PRIVATE
7-9
IPL-SOFIHARE
EkGINEERING
SYSTEH
09/01175
ISHLICI
V2.0
ERS
REVI
B
-------------------------------..-----.... ------------------------------
7.0
APP~NOIX
E -
ASSEHULY
LANGUAGE
DESCRIPTION
--------------------------------------------------------------------
+-----+------~-----------+----------t
I
GuS
I I
IPIo
I I
I REF I
OP
I
ASS,oHtlLER
I
OPeRAND
I
I
NO.
I
CODE
1
HNEUMllNIC
1
FIELD
1
+-----~------t-----------~----------+
I
135
I
07
I
CXCHR
1
J,K
+-----+------+-----------+----------+
I 134 I 9F I
BCR
1
J,K,a
1
+-----t------t-----------t----------+
1
136
I
81
I
KEY
1
J,K,a
+-----+------~-----------~----------~
I
1.B
I 05 I PB I
J,
K
t-----+------+-----------t----------~
I 139 I
U8
I
ALG
1
S,J,K,Q
+-----+------t-----------t----------t
I
143
1
B~
.1
ISa
I
J,K,Q
I
t-----t------t-----------~----------t
I 144 I
13
I
COHA
I
J,K
I
+-----t------t-----------t----------+
I
145.
I
it
I
HRK
I J ,K
t-----+------t-----------t----------t
I
14b
I
FO
I DDFlNS I
J,KO,K1
I
I I I I a1 I
t-----.------.---~-------t-------~--t
I 147 1
F1
I
DDFEX
I
Ju,Jl
1
1
11K
,aD
1
t-----t------t-----------t----------t
I
148
1
F.2
I
DO
F I X I
J.
K 0 I
I I 1 1
Kl,al
I
t-----t------t-----------t----------t
I
149
I F3 I DuFUX I J,KO 1
I 1 1 I Kl,
at
I
t-----t------t-----------t----------t
I
150
I
F5
I
LPMEM
I
J,K
I
t-----t------t-----------t----------t
I 151 I
F6
I
LSH,oM
I
J,K
t-----+------t-----------t----------t
I
1:;2
I F7 I
LDM:.M
I J
,I{
",'
t-----t------t-----------~----------t
I
15~
IFIl
: 'lCC I
J,K
I
+-----+------.-----------t----------~
NCRICOC
PRIVATE
I~L-SOfTWAqE
~NGINEERING
SYSTEM
7-10
r~WL/CI
V2.0
ERS
09/01/75
_______________________
REV
I 8
7.0
Arp~NuI~
E -
A~~EMB:~-:;~~~;~;-~;;~;;;;;~~----------------------
------_._-----------------------------------------------------------
+-----+------+-----------t------
____
+
I
GClS
I I
IPL
I
I
QEF
I
OP
I A
SSEHfl
lE~
lOPE
QA
ND
I NO. I
CODE
I
HNEUHOtHC
I
FIELD
I
t-----t------t-----------t
__________
t
I
lj4
I Fg I
DMI
I
J,~O,~l
1 I I i
:lD
,01
I
+-----t------t-----------t----
______
t
I
1~5
I
FA
lOCI
I
J,~O.~l
I I I I
",0,01
I
+-----t------+-----------t-----
_____
t
I
150
:
FIJ
I DAI I J,O(O,Kl
I I I
III
a,
Q 1 I
t-----t------t----
_______
t
__________
+
I 157 I
Fe
I DlA I
J~,Jl
I I I I K, 00 I
+-----t------t-----
______
+ _________
~+
I
158
I
FD
I DlX I
JO,Jl
I I I I
K,o.O
I
+-----~------+~----------+----------~
I
159
I
FE
I
0:,
X I
J.
~
0
I I I I 1<1,01 I
t-----+
______
+
___________
+
__________
+
I
100
I FF I
10
I
J,K,a
I
t-----+
______
+
_______
~_~_·
__________
I
NCR/COC
PRIVATE
6-1
IPL-SOFTWARE
ENGINEERING SYSTEM
09/01/75
ISWLlCI
n.o
ER::' REV. B
---
..
----------------------------------------------_
..
_-
...
_-_._---------
6.0
APP£NDIX F - COMPILER OUTPUT
If
the
compilation
does
not
abort,
the
comoller
outputs
data
onto
tHO
files,
a
I1stln9
fIle
and
ootlon311v,
an
object
file
(s~e
section
entitled,
"COMFILING
SCURCE
MODULES").
8.
1 LillllHi..£.lJ..!:
Tne
listing
Ille
contal~s
two
text
forms
of
the
source
Input
file.
Tne
first
form,
the
"source
lorm",
is
an
exact
copy
of
the
source
input
fila
concatenated
wltn
InformatIon
provided
by
the
co.,pller.
The
second
lorm,
the
"asserrol
y
form",
Is
an
IPL
assemoly
langua'le
lIsting
of
tne
generated
Object
co:le
far
the
source
InolJt
I i
Ie
and
is
produced
when
the
C
comment
toggle
Is
selected.
Examole
01
Llstlnq
FIlel
Given
the
101l0
..
ln9
source
lines
to
compile.
MODULe:
Ei<S'EXA HPLE:
VA~
Vl
VZ
PROC
VA~
IIHEC,ER,
I
(STATIC)
INTEGER
1=
Z;
[MAHIl
ERS#P;
V3 r
[STATIC)
INTEGER
1=
It,
V
to
I
IIIH
G[~,
V5,Vo
I INT .. GER;
IF
Vi:
= 3 ThEN
V .. 1= 0 ELSE
V 5 1= 7
IFENO;
V3
1=
V2;
f'~OCi:.NU
r:RSNP;
IiUlJt: .. O
E';'SIf.XAI'PLE
NCRICDC PRIVATE
rl"'L-SOFTHARE E NGIuEERING SYSTEM
1.>101
....
/,;1
V2.3
EFS
6-2
09/01175
~EV.
e
--------------------------------------------------------------------
6.0
APPLNJIX
F - COMPILER
OUTPUT
8.1
LISIING
FILf
-----~-------------------------------------------------
-------------
T h£'
"source
f orm
ll
Is
PG
STAT
AUTO
PR
NS
1
ISH
L/IPL
VERSION
Z.O,
LEVEL 0
1 0 0 0 0
MODULE
ERSIEXAMPLE:
2 0 0 0 0
VAR
3 U
Ll
0 0
V1
I
IrHEGE
K,
,.
4 0
-0
0
V2
[STATIC)
INT EGER
1=
2:
5 8 0 u U
PROC
[MAIN]
ERSfP;
0 8 6 1 0
VAR
7
ci
0 t 0 V3
[STATIC)
INTEGER I =
It,
8
12
6 1 0
V4
I
INTEGER,
9
1'1
'
10
1 0
V5,
VO
I
ItHt:GER;
1Q
1':: B 1 0
IF
1/2 = V 3
TH
EN
11
1<:
18
1 1 V"
1=
6
t.LSE
1Z
12
1tl
1 1
V5
1= 7
13
12
1/\ 1 1
IFFNO;
14
12
1t1
1 0 V3
I"
V
2;
15
12
18
1 0
P~CC(tU
ERSIJP;
10
1<:
0 a
HO~END
ERS#£XAH~LE
YY/H'IIUO
I1H.HI1.SS
NCR/CJC
PRIVATE
I~L-SOFTWARE
ENGIN~ERING
SYSTEM
09/01175
REV.
a
!~~:~~!-~~:~-:~~----------------------------------------------------
8.0
APPENDIX
F -
COHPILE~
OUTPUT
~.:
~-:!;~!~~~~!::------,..-
--------------
-----
------
---
------
-
---
------
and
the
"assembly
form"
Is
S.LN
OP~
SECT/OFFSET
--TEXT--
IPL
OP
REF
10
LOD
LOC
EQU
FJP
11
LOC
SIR
UJP
13
LUC
STR
lit
LOO
STR
15
RET'
DEF
ENT
UJP
16
041
OAT
FIN
CS
000000
C3720001t
CS
000001t
80030003
CS
0000U8
2C
23
CS
OOOUO
A
lE82
CS
00OOOC4'90020000
CS
000010
RD02000f>
CS
000U1,.
C[l12uOOf>
es
OOOOlS4'glouOOOOO
CS
O~OOOE
no
0
~
CS
~JU01C
600.:0007
CS
o
O~
J2
0
C&12QOOE
CS
OOU01A
000 D
CS
OOOO~<t
C372U004
CS
0000)2i1
C[l720006
es'
a 0
0.~2
C
u40J
CS
O.1002E
IlFOFOUO,.
CS
JOUQ324'901l00000
CS
000036
81010000
CS
OOUOH
8El
0OOli!
';S
Oil
(J
0
3E
,,"OOFFEl
Sf
OOOOU"
00000002
ST
UUOOD
8
00000004
C$
OuOJ3<t
0008
CS
000042
60370000
C5
00JO'+6
<.!FFO
LBYXS
EXQ
ICH
HRK
BXHEC
EXQ
SOtXS
BXEC
£XQ
sOYXS
LRYXS
S[lr
XS
"ET
CP
BXHtoQ
SA
CPADO
:JXEC
LA
2
5q
36
145
41
59
4
37
59
4
2
4
117
EPT
CS
Oa002E
R'ERSfP
55
1t1
19
54
.
37
es+ooouoo
17 RIF
CS
000044
Q
as
c
AIH
as
000000
P A(ST)
JPR 46
S~CTIO~
HA?
OF
MODULE'
ERSOEXAHPLE
o
CS
00~048
C()D~
SECTIOU
~EAO
2
BS
OOOOOS
BINDIUG
SECTION
REAJ
1
ST
o~onoc
WOi<KING
SECTION
REAO
T~AUSFLk
NAME
I
ER~np
EXECUTE
BINDING
wRITE
NCR/CDC
PRIVATE
IPL-~1FlwA~~
E~bINEE~ING
SYSTEM
IS-lL/CI
V2.0
ERS
09/01175
REV.
9
8.d
APPfNorx F -
COHPILER
OUTPUT
B.l
LISTING FILE
WI
th
reJarj
to
the
"source
form".
the
t
Ie
I
ds
concatenated
to
compiler
fialds
cal
I
ed
output
th~
~ourc~
inout
are
d~scrlbed
below.
The
conc3t.in"t"d
with
the
source
Input
lines
are
lines.
Q.fEl!:!lll.!lti
PG
Decimal
number
Indicating
the
pa3e
nUlllber-
of
the
"source
form".
LINE
Decimal
number
assi~ned
to
each
source
lIne
In
the
input
f
lit!.
This
f
hId
appears
Immedidtely
balow
the
PC
fIeld
in
the
·source
f
or
mil.
STA T
AUTO
Duclmal
number
wnich
slqnifles
a
rel~tlve
byte
offs~t
Iro~
the
be31nnlng
01
the
ST4T!C·
area.
Tna
field
onlv
has
me~nlnq
if
the
associated
source
input
line
on
tne
source
ouput
lIne
Is
either
a
varl3ble
declaration
whIch
has
II
"static"
or
"xdcl"
attribute
or
Is
a
variable
jecldratlon
which
Is
immediatelv
contained
within
a
module
declaration.
In
thisc3se.
the
byte
offset
is
th
...
location
3110catej
to
.tne
lost
varl.:lble
(as
scanned
fro.lI
lelt
to
right)
appearing
in
the
assoclat'ej
source
line.
Deci~al
number
which
siqnlfies
a
relative
byte
of
fset
from
the
be~lnnl
ng 0 f a
STACK
'rame.
Tha
flelJ
n~s
me~nlng
onlv
if
tht!
associated
source
input
I
ine
on
the
Sdme
output
lIne
Is
a
vori3ble
declaration
wnich
Is
Immejlately
contJinad
in
~
prOCt!oure.
In
this
cas~.
the
uytt!
O"SEt
is
the
location
allocated
to
the
Vdriable
aDPearin~
in
the
associated
s~urce
line.
PR
Decimal
numuer
which
Inalcdtes
the
procejure
n~st
ing
I
"vel.
N:;
Jeci"'ClI
('umoer
"hi,ch
in;]icat<!s
tha
structured
stat~ment
nesting
level.
JATUTll1c
The
.late/time
sta'!1p
imll'edlate
Iv
follows
the
NCR/CDC
PRIVATE
IP~-SOFTWARE
ENGIN~ERING
SYSTEM
ISWL/CI
V2.0
ERS
8-5
09/01175
REVI
e
-----------------------------_._------------------------------------
8.0
APP£tWIX F -
COHPILER
OUTPUT
8.1
LISTING FILE
last
output
line
of
the
compll
at
Ion
unit.
NCR/CDC
PRIVATE
IPL-SOFTWA~~
£~GINEE~ING
SYSTEM
I~WL/~I
V2.U
ERS
09/01175
REVI
e
8.0
APP~NOIX
F -
COMPILER
OUTPUT
8.1
L1SrIN~FILE
-------------------------------------~----------------
--------------
T"~
"assembly
form"
contains
LINK.R
records
which
ard
output
co~pllBtlon
unit.
a
descrlotion
of
the
SES/IPL
by
tne
cOlllpller
for
the
F"r
"Beh
I"Vdl
zero
modul e
..
ithin
a
cOl!'oilation
unit,
the
"asspmbly
for."'"
(j<;!scrlption
includes
a
"section
definition"
1eserlotion,
a
"section
summ"rv"
description,
and
"other
S£S/IPL
LINKeR
reeoro"
Oeseriptlons.
The
".oiEcllon
definition"
description
is
preceeded
by
the
hd"d.>r
line
:>.1.'1
ope
'S,-CT/OFFS,-T
--TEXT--
IPL
OP
REF
E3Ch
II~e
aopearing
unler
this
description
is
refprrid
to
a~
heaaer
line
in
the
section
dn
entry
in
the
"section
ddi"ltion"
oeseription.
The
meaninq
of
eaCh
of
the
Ile
I
ds
In
the
neaj~r
line
lsi
LIt.!.!.!
S.Ul
OPO
~EC
T IOFFSET
--TEXT--
IPL.
JP
Same
definition
as
the
LINE
field
1~
the
"so\Jrce
form"
.of
tne
listing
fIle.
Used
fJr
compiler
deougging
and
Is
to
be
ignoreJ.
Jeflnesthe
SES/IPL
LINKER
section
and
offset
lin
hexadecl11al
bytes
frolll
the
tieglnning
of
the
section)
int
c
wnlch
the
--TEXT--
fleld
Is
placed.
The
comoller
uses
five
~neu~onlc
nam~s
to
classify
the
~Iffer~nt
sections
It
'l<,neratesl
C:i
-COJe
sect
ion
OS
-
oindln3
~~ction
SI
-
static
(working
storagel
section
LT
-
lit~r'il
section
HP
-hcdO
Section
H~xoJee
im<.1
d~t3
""ich
Is
Inserted
at
the
loc~tlon
specified
by
the
SECT/OFFSET
field.
IPL
~ss~~bler
mneulllonic
for
the
instruction
in
tne
--TEXT--
flelJ.
Tnls
flel1
Is
blan~
If
Ine
--T;:XT--
f i
..
la
is
not
an
IPL
Instruction.
!t-'L
ref"rencb
number
tne
--T~Xl--
fialo.
for
the
ins
true
t i
0"
in
This
field
is
blank
if
NCR/CuC FRI VAlE
IPL-SOFTHA~E
f~GINEE~ING
SYSTEM
ISI4I./CI
\/2.0
ERS
8-7
09/01175
REIII B
--------------------------------------------------------------------
8.0
APPENDIX F - COMPILER
OUTPUT
8.1
LISTING
FILE
the
--TEXT--
field
Is
not
an
IPL
Instruction.
Other
Items
to
note
w1th;'n
"so!ctlon
dellnltlon"
descr-Ipt;'on
are
the
followlngl
II
an
aster-15k
appears
betweer
the
SECT/OFFSET
and
--TEXT--
f
lei
d.
the
i.nstruction
In
the
--TEXT--
field
conta
Ins
a
forward
reference
to
a
"taryet
location"
In
the
code
section.
Another
entry.
EIHRY
N.
in
the
sectlon
def
11'111
Ion
descrlptlor
Is
ge"erated
Oy
the
compi
IeI'
to
resol
ve
the
forward
relertlnce.
ENTRY
N's
SECT/OFFSET
Held
will
bel
CS
XXXXXX
"her-e
XXXXXX
=
YYYYYY
+ 2
and
YVY'YY =
hexadecimal
offset
of
the
"section
definition"
entry
which
contained
the
forward
r-eferenc9.
ENTRY
N
lm~edlately
precedes
the
entry
In
"section
definition"
description
"hose
--IEXT--
field
contains
the
IPL
Instruction
which
is
the
oDJect
of
the
forwara
reference.
I f
an
entrll
in
the
sectlbnde
finl
t I
on
d~scrlpt
Ion
Is
for
an
Instruction
an~
the
text
string.
·CS
+
ZZZlZZ'
(whare
ZZlZZZ
Is
a
hexildeclmal
numoer!
aooears
after
the
REF
field,
then
this
Instruction
contains
a
backw~rd
reference
to
the
code
s"ctlon
ana
ZZlZZZ
Is
the
ofts
.. t
In
the
code
section
to
wnlch
the
reference
Is
made.
One
can
determine
thl
IPL
instructions
which
ar-e
generated
for
a
SO'Jrce
line
In
tho!
follo"lnq
manner.
The
entry
with
a
non-blank
S.LN
field
aSSOCiates
a
grouo
of
"section
definition"
entries
which
are
generated
for
source
line.
S.UI.
The
-jrouo
of
entrle'.i
Incl
ude
Ihe
entry
wUh
the
non-olank
S.LN
field
and
all
entries
with
blank
S.LN
fieldS
which
folio
...
uo
to
the
next
ertry
with
a
non-Dlank
S.LN
flelJ.
All
entries
in
this
,1rouP
which
are
Inslructier
entries
(i.e.,
ones
with
a
non-blank
REF
flelj!
are
the
Instructions
generatt!dtor
the
source
line.
The
"section
summary"
descrlolior
oegins
with
a
header
line
of
S£CTIuN
"lAP
OF
MODULE
I
modJle
iJ.!ntifier
where
mOJ~le
Id~ntltler
Is
the
i1~ntIfler
th&1
was
on
the
~ojule
decl&ratlon
statement.
NCR/CDC PRIVATE
I;;~L/CI
\/2.0
E~S
09/01175
REIII e
a.o
APPt~OIX
F - COMPILER
OUTPUT
8.1
LISTING
FILE
The
entries
which
follow
the
header
line
ar-e
of
the
following
'.Jen~f·lc
form:
O~Lll
O~OI.
OR"N
StCT
IONl
S':CTION2
Sl.r.r
IOtm
Ti(ANSFEI\
rlAME
flfJ.Q
Oi'O
·LEUGTH
AITKldUTES
T~'ANSFER
NAMe:
LENGTHl
Lt.tlGTH2
SEC
uESCl
SEC
LJESC2
ATTRIBUTESl
A TTRI
9U
TE
S2
LENGTHII
SEC
LlESCN
ATTIi.IBUTESN
xxx
SlS/!PL
LINKER
s~ctlon
ordinal
number-
section.
for
Elfh"r
CSt
SS.
ST,
LT,
HP
(see
SECT/OFFSET
fielJ
definition!.
H(>.:adeclmal
byte
length
of
section.
Either
CODE
SEC!
ION
JINOING
SECTION
WORKING
SECTION
EXTENSIBLE
COMMON
SECTION
.o/O~I(ING
SECTION
S~S/IPL
LINKER
section
attributes.
READ.
HRIT~.
EXECUTE.
BINDING,
combination
of
these.
EIther
or- a
XXX
Is
elthar
blank
or-
Is
the
procedure
I~entifler
wnich
haJ
the
main
attribute.
The
"olher
::iES/IPL
LIUKER
recora"
descriptions
are
Inter-mixed
"I
th
Ih;>
""t?ct
i\ln
def
ini
t
ion"'
OescrlL't1
ons,
aOO"3r-
to
the
right
of
tno!
~f.F
fi<!11
on
tne
output
listing.
and
3r-e
used
for
aeou~9In.l
the
c<lmcil"r.
In
'J<;f\er"l.
tnese
descriptions
describe
the
follo
..
lng
type
of
~~S/IPL
LINKf~
r~card5
output
by
the
compilerl
elltr-y
~ol"t
Jefinition
(EPrl
rplJC3tior
informdtion
(OIFI
.J)
lr
..
55
ir;;.;rt
ion
(AIel!
\!X
"'r",,1
r
~Ier"nce
I
inkege
(X~Ll
bit
stri.ng
Insertion
(en!
NCR/CuC PRI
VATE
IPL-SOFTWAR£ ENGINEERING SYSTEH
6-9
0<)/01175
REV
I B
ISWL/CI
V2.0
ERS
------------------------------_
...
_---------------------------------
a.D APPENDIX F - COHPILER
OUTPUT
8.1
LISTING
FILE
--------------------------------------------------------------------
address
offset
InsertIon
CAuII
Tne
obJect
fIle
Is
in
a
forlllat
whIch
can
be
linked
by
the
SES/LPL
LINKlR
V1.D
(see
SES
User's
Handbook
sectIo~
entitled.
SES/1PL
LINKERI.
NCR/CDC
PRI
VAlE,
9-1
IPL-~OFTWARE
ENGINEEKING
SYSTEM
09/01.175
ISWL/CI
v2.0
ERS
REVI
e
-------------------------------------------------------
---~---------
9.0
Ap~fNJIx
H -
COM~ILIWG
SOURCE
MODULlS
Tne
ISWL/CI
V2.0
comoller
Is
executed
as
a
orocedure
end
the
followIn"l
cO'l1:nand
readies
the
compIlation
procedurel
GET,IPLISWL/UN=ALL
Alter
tne
IPLISWL
co",oIlation
p~ocedure
is
obtaIned,
It
lIIay
be
eXecuted
with
the
followIng
,control
statellle'ntl
-IPLISWL[,I=<source
fIle>][,O=<listlng
fIle>]
[,U=<obJect
flle>'[,PASS=<112>][,FL=<fl>]
The
d"fdUI
t
oarameter
va
I
ues
are
I
I = I
()
0
B = R
...
ASS
FL = 2
(complete
compilatIonl
140UOO
The
U5er
Cdn
Increase
the
effIcIency
of
hIs
IPLISWL
compi
lat
Ions:)
V
uslnq
tne
PASS
oot!
on
on
the
procedure
call.
The
IPLISWL
co/:'pil"r
has
two
distinct
oasses
and
theY,lIIay
be
oPtLn"lIy
ex"cut~'1.
If
PASS=1,
the
syntax
errors
a"e
checked.
If
"ASS=2
or
th~
parameter
Is
omItted,
the
Syntax
errors
ere
cnec,<ea
'in,J
th"
codl!
9~nerdt
ion
is
done
and
an
ob]
ect
deck
Is
::Jen..!rdtt!.t.
If
tne
c')moller
ahorts
during
a
co"ollatIon,
the
mess3gQ,
"GJ'PLL.I
T
rUN
A'1Q~rE:.Ll",
is
outout
to
th'e
Ki<ONOS
standard
out
put
II
I~.
If
you
obtain
this
messdg~
..
hlle
cOll'oi
lIng,
YOU
should
use
tn~
I'S~
Buq
R">Jortin.,)
mechanism
oescrloeo
In
the
SES
User
H.lIl'1"ook.
It
is
r ..
coml1',~"dpd
thot
YOu
3ttach
the
,L,vf
i
Ie
of
the
aoorled
co~pilat10n
..
Itn
the
PSR.
NCR/cae
PRIVATE
IPL-SOFTHARE
ENGINEERING
SYSTEM
ISHL/CI
V2.O
ERS
10-1
09/01175
REVI
B
--------------------------------------------------------------------
10.0
APPENDIX
G -
OBJECT
PROGRAM
EXECUTION
--------------------------------------------------------------------
Tois
sectlon
descrIbes
ISWL/CI V2.0
runtime
SUPPort
proc"aures,
anJ
InitIatIon
and
terminat
Ion
of
an
IPL
ISW,L
object
program.
TOere
eXists
ISHL/CI
V2.0
runtime
support
procedures
for
processing
NEXT
al'd
RESET
statements,
for
Pr'ocesslng
the
st3ndard
procF.dur'e,
'STPINGREP,
for
processing
the
standard
function,
$ST~rNG,
ana
for
processing
execution
time
diagnostiCS
(see
section'
entitled
"AONORMAL
TERHINATION"I.
If
tOese
runtime
suppurt
procedur~s
are
referenced,
they
must
De
linKed
with
the
binary
f
lie
pro~uce:J
Oy
the
compll~r
via
the
::;ESIIPL LINKER. The
table
below
lnoicates
the
lnairect
files
In
the
ALL
catalog
which
cont~in
the
runtl~e
procejuresl
E.lli.1UJag
I
PLRT1
IPLRI2
IPLRT3
runtim~
error
Supoort
8~T~INGREP
an~
$STRING
support
N~XT,R~SET
support
This
sectIon
contains
an
example
01
KRONOS
and
SES
Subsystem
com'll'3n(!s
necessary
to
compile
an
ISWL
source
orogram,
link
and
load
tOe
Ob
ject
t!le
product:~
by
the
compll
er,
and
execute
the
Program
on
the
simulator
(see
the
SES
User's
H~ndbook
for
a
d~scrlptloh
of
the
IPL
SIMULATOR,
SES/IPL
LINKER,
and
the
SES/IPL
REAL
HEMURY
LOADERI.
NCRICDC
PR!
VA
TE
I~L-5JFTWAR~
ihGINEERING
SYSTEM
ISWL/CI V2.g ERS
10.0
Af','ENJIX
G-
OBJECT
PROGRAM
EXECUTION
10.2
INrTlATlUN
ISWL/CI
Version
2.0
compilation
an~
execution
10-2
09/01175
REV
I e
T~e
user
snoulJ
be
'umillgr
with
the
SES
Subsystem,
especIdlly
tne
LINK
and
RHL
commdnds",~~na
toe
IPL
Simulator.
o~tc'"
~qFL,2uJJO.
I 'Ie
t,
source
I
~~
t • I D I
Is"
I/u
I'
=a
I I
1-lollswUi=:;ource,b=binar'y,o=,llsting,f
I =1340001
':pt.ut
lIun=all
lut
I tlLJ
lu.
list
Ing
IJdt.seslnsl=your'prl
Iqet.seslns2=yourpr2
Iggt.5P~lns~=yourpr3
l'l~t
.run"es/un=dll
,/asc
i i
"use
10xx
for
Iistinq
PevC
flies"
"ge
t
user's
LNS
e nv I ronme
nt"
l-runs~~(ln5;1)
"enter
Subsystem
to
execute
LINK
and
~ML·
"HSG1;
~ES
V(.l
75/09/02.08.00.00.
-
PLEASE
LCGIN
?
loedn
you
Ixxx
?
Ii
f
11l.kfn='hlnar'Y·
"LINK_CB
an~
LIF
have
been
pr~vIous
Iy
declared
and
sdved
3S
part
of
the
LNS
environment."
"cOcck
on
prell
x
for
subsequent
simulator
comman<l
Il1e"
"files
to
be
lInked"
?
II"ktl.;u=link_cb,IPd=To_r",'
?
rllll,lo,l:to_rll'l
"use
LPD
Nn:e
-1uoted
on
LINK
command"
? 1:>'1olf
"exit
suosvstem
to
run
slmulator"
"M~u
8~:
CO"N~CT
TIME
=
OO.~3.01.
Inor,;,,,1
"simulator
does
not
accept
lo"er
case"
14~t.run~lm/un=311
I-runsim
I~L
;I~LLATOR
VE~SION
2.1
?
p.nl'?'·
I
xxx'!nt
",(ML
generated
command
fIle"
j:,.T","
LXXX;:tlT
~::·1J·)
1
iu~
0
.
I"L"I;·IL,-i.T
0"
vE~.:iIO"2.1
,~::
~.
-<
v =
l,':)
C;:,
LJ.\J
l.'(\,<lJl
..
JA.I
LXXALOZ
LOAJ
LXXnO.l
NC~/COC
FRIVATE
10-3
IPL-SOFTWARE
ENGINEERING
~YSTEH
09/01175
ISWL/CI
V2.0
ERS
REVI
B
--.---------~----------------~-------------------------
-------------
10.0
APPENOIX
G - OaJECT
PROGRAM
~XECUTION
10.2
INlTIATION
...
----------------------------------------------------------
...
-----
... -
...
LOAD
LXOZ<l1t
LOAQ
LXXxZ05
ECHO
OFF
U0002600
02
EXCH
P FGFJ
FOF~
FOFu
FOFO
&KP
~OOO
0000
0000
TRACE
LL
uuOU
OOOU
0000
CR
4=3,AV=aOOOOOOil5002
CR
S=P,~V=8UOOO~OO"O""
EXIT
J20
0000 a
MCR
STATE
TRACI::
UL
P =
FOFOF
OFO
FOFO
UCR
FOFO
MONI
TOR
OOOU
0000 0000
·Slm~lator
commands/Program
Execution"
?
end
END
SIMULATION
COMPLETE.
1
A
normal
Drocedure
epilog
(see
object
code
generated
lor
a
pracena)
is
generated
for
procedures
with
the
"main"
Or
"xdcl"
attributes.
Ther~fora,
If
the
envirohment
was
establIshed
as
It
Is
described
In
the
section
entlt
led
"HIITIATION",
and
the
program
eXfcuteo
corr~ctly.
an
environment
soecificatlon
error
Itlll
occur
IHCR=O
100)
dnd
the
P
address
shoul
d
be
the
address
of
the
"return"
instruction
of
theproceJure
to
which
control
was
transferreo.
Tn"
IPL
Simulator
wi
II
then
prompt
the
user
for
a
co"""nd.
Through
the
use
of
co~ment
tOlgles
(see
section
entitled
"IPLI5WL
ComplIer",
1n
the
SES
User's
Handoook)
the
complIer
generates
cooe
to
Check
the
following
conditionsl
1<.0
;<!ll!lQli
Assignment
subranga
error
01 vlOe by
zero
NC~/COC
PRIVATE
IP~-SOFTHA~L
ENGINEEQING
SYSTEM
r5~L/Cr
V2.~
EkS
09/01175
REVI
B
--------------------------------------------------------------------
10.0
APPENDIX
G -
O~JECT
P~OG~AM
EXECUTION
10."
AI.l.O;d~~L
IE~'HNATION
--------------------------------------------------------------------
Ind~x
out
of
range
C'3se
Index
out
0'
range
If
one
of
the
above
conaitions
Is
detected,
the
cOIIIDller
asslJn~J
source
Iln~
numoer
at
~hlcn
the
error
occurrea
Is
;>nte"eO
into'
register
Xl
and
a
call
is
maOe
to
a
runUI!!e
DroccOur?
"hicn
outouts
a~
error
I!!cssd3e
onto
the
fIle,
IPLOUT,
and
executps
a
Droqr~'"
~rror
instruction.
EXecutIon
aborts
ano
th~
~ser
Is
thpn
ora~pt@O
for
a
co~m~nj
by
the
IOL
SIl!!Jlator.
The
runtlm~
error
m~ssd~es
~r~
the
fol
lowlngl
ASSl(,'I~:ENT
SU'IR.t.IIG~
EfI;;oc..~
AT
LWE
XX)(XX
CAS_
INDEX
~~MOR
AT
LINE
XXXXX
IUO~X
OUT
OF
~ANGE
f~~OP
AT
LINF
XXXXX
Ol~lLl"
rlY
LbW
EKkDk
AT
LINE
XXXXX
The
liel(1,
XXXXX,
is
the
LINE
n"l<l
on
the
"saurce
for,."
of
the
Ilst.n,)
fill'
(s'.!o
sectIon
en.tItled,
"LISTING
FILE").
NC~/CDC
FRI
VA
TE
IPL-SOFIHARE
ENGINEERING
SYSTEH
I~WL/CI
vZ.o
~PS
11.0
AP~ENOIX
H -
~ACHINE RR~A~OUT
EXAHPLE
11-1
09/01175
REVI
B
This
aopendix
contains
an
ISHL/CI
"listIng
fIle"
of
a
source
proqram
whIch
exemollfl~s
the
usage
of
machln~
breakout.
HCR/CDC
PRIVATE
11-2
IPL-SOFTWA~E
ENGINEERING
SYSTEM
ISWL/GI V200
ERS
09/01/75
REVI 8
~-------------~-----------------------------~-------~-~--~-~-----~--
11.0
APPENDIX
H -
MACHINE
BRfAKOUT
EXAMPLE
~~----------~-------~~----------------------~--------------~----~---
..
PG.
1
STAT
AUTO
PR
NS 1
ISWLlIPlVERSION
2"
0,
lEVEL
0
1
2
3
4
5
6
7
8
CJ
10
11
12
13
14
15
16
17
18
19
I
20
21
22
23
Z4
2~
.
~6
27
28
29
:iii
31
~,
3..i
34
.$5
3.b
'j'7
38
3':j
40
41
42
.. 3
44
1t5
1t6
It7
.. 8
49
50
51
~2
5.5
~It
o
o
o
o
o
o
o
o
u
o
o
o
32
32
32
.$2
40
47
53
60
72
72
72
72
72
12
72
12
7Z
.]2
72
]2
72
72
72
12
72
12
72
72
72
12
12
72
12
72
12.
12.
72
72
72
12
12
72
o 0
o 0
o 0
o 0
o 0
o "
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
o 0
6 1
6 1
6'
1
6 1
£)
1
6 1
6 1
6 1
6 1
6 1
£)
1
6 1
6 1
1 1
11
1
11
1
17
1
17
1
11
1
23
1
24
1
32 1
17
1
17
1
17
1
17
1
17
1
17
1
17
1
17
1
17 1
17
1
O.MODUlE
[COOECIPl)]
MBEXAHP;
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
o
11
o
o
o
o
o
o
o
o
o
u
o
o
o
o
11
o
o
o
o
o
o
o
o
a
o
11
o
o
o
o
o
o
o
"'3H80"
TYPE
KEel
=
VAR
RECORD
BIT1,BIT2
I
flBIT(S,2),
BYTE1
:
fIBYTECS,4),
ADRl
,.
#AODRESS,
HUESC 1 tIOESCRH,
FDEse
I
I#DESC~F
RECENO;
VREC
I
REC!I=
[IIHC"S"),IIHC
OSO
),ilM("l
2.
:3
4.5
6
78
9 AO
),
VBIl
1
VBYTE
VAOR.
,
VHDESC
VFDESC
[
II
M
("
'+
° ) ,
tiM
( • 8 ° ) , "M ( "
EO)
]
,.
.
[11M
CoO
) ,
tIM
C
"8
°
),
11M
Co
1+
.)
II
M
Co
8'
)
,,,
M
("1
7')],
[
[/I
M ( °
0"
) ,
fJ.l1
C °
'+
) ,11M ( ° 4
0)
,
11M
( 0 8 0 ) ,
11M.
(
EO)
1.'
II M ( 2
!I
1:3
IT
(31,33),
I
118YTE(7,4),
f.lAOORESS,
1 IIOESCRH,
I tlDi::SCRF;
PROC
[COOECIPl},MAIN]
HBEXAMPt
!PROLOG;
VAR
X'+
:
[tlXREGC'+)]
INTEGER,
X3
[UXREGC311
REAL,
X2
I
[l/X;'{EG(ZI]
CHAR,
A4'
[IIAR£G(4)]
//ADORESS,
AS
I
[I#AREGC!;)]
tlAIHJRESS,
AA
1
[D4REGCOA(16)1]
#ADDR~SS,
AU
:
[f.!ARFGC08C16111
UDDRESS,
AC
I
[tIAREG(t1CC16)1]
tl4IJuRESS.
AD
I
(Itj\REGC00(16)))
IIADDRESS,·
A8.A~
I
[fIAREG(8
..
911
.fIADDRESS,
VOOOl 1 UOOLEAN,
I I
INTI:.GER,
PIt
1
-INTEGER;
VKEC.BYTE1
~=
DM('A
BeD
E A
Be
0 EO);
PI1
1=
VAOR;
VADR
1=
$I#AOORESS[t/MC O
O'),IIMC
O
O"),IIMC
03 Z 1
0"1l;
VHDt:::iC
1=
$tIOESCRH[IIM('8°),DMC"4°),IIM("F'),flMC"Z
5
8'),"M('2
4')];
3
It
50)));;
v F Dt:SC I
=~
$11
DE
SC
R
F[
[
/J
M
("
00 ) ,IIMC
C')'
tiM
( 0 0 ' , ,
OM
C
250'
)
,II
M C
24'
)
hIM
C
'409&'
J J ;
lBL
1 1 VOOOl
.=
VREC
=
VREC;
.
l8l2
I VOOOl : = V
FOE
SC
1=
VFDEse;
I 1=
#OFB(VR~C"AD~l.VREC);
I &=
IIOFB(PI1J;
I
:=ROFoeVAOR);
I 1=
!lOFOI1
(V~'lC"ADK1,VREC);
1
.=
IIOFBITCPI1';
I
1=
flUFUIT(VAORI;
1 1=
IIL£NGCVRfC);
I
1=
IIl~NG8IT(VREe);
PI1
a=
/JAOORCI);
11-3
IPL-SOFTWARE
ENGIN~EkING
SYSTEM
·09101/:"13.
ISWL/CI
V2.0
ERS
REV
I B
-----~-----------------------~-------------------------------~------
11.0
APPENOIX
H -
MACHINl
BREAKOUT
~XA~PLE
~~~-----~-----------~-------------------~-----------~~-----~--------
PG
2
sur
AU10
PR
NS
1
ISWLIIPL
VERSION
2.0,
LEVEL 0
55
12
17
1 0 !LOCKREG;
!:1€1
72
17
1 a
!LCAD,7
X4,
[AC
,)(3,1024];
57
72
17
1 0
!LOAD,7
X4~[AC,40'36J;
51:1
72
17
1 0
!STORE,7
X4
,[AC
,X3
,10
24J;
!:1'3
/2
17
1 0
!STO!{E,7
X4,
[AC
,40·3~
J;
&0
7Z
17
1 0 !
LOAD
X4,
[AC,X3,1024J;
61
72
17
1 0 !LOAD
X4,[AC,4Q%J;
62
72
17
1 0
!SrO~E
X4,(AC,X3,U24J;
63
12 17
1 0
!S
TOKE
.X4,
[AC,40%J;
64
72
17
1 0 !LCAD,IIXO
X3,
[AC
,X2,10241;
65
72
17
1 0 ! LOAD,
II
XO
X3,
[AC
,4090J;
&6
72
17
1 0
!STORE,IIXO
X3,[AC,X3,1024l;
67
72
17
1
U.
!
STORE,
IIXO
X3,[AC,40%J;
&8
72
17
1 0 !
LeAD,7
X3,(IIP,4090J;
69
72"
17
1 0
!tOAD,/IBOOL
X3,(AC,40%J;
70 72
17
1 0
!STORE,/1800L
X3,[AC,40'301;
71
7C.
17
1 0 !LOAD
AC,(AD,X4,lu241;
72-
72
17
1 0 !LOAD AC, (
AD
,40'35
1 ;
13
12
17
1 0
!STORE
AC,(AO,X3,10241;
74
72
17
1 0 !STORE.
AC,rAO,4090J;
15
72
17
1 0 ! LOAD.
IIMUL
T
(AC,Sl;
76
72
17
1 0 !:;TORE ,fIHUL T
LAC.5];
77
72
17
1 0 !AOD
X4,X3;
78
72
17
1 0 !SUI3
X4,X3;
79
72
17
1 0 !MULT
X4,X3;
80
72
17
1 0 !O IV
X4,X3;
31
72
17
1 a !AI3S
X4,X3;
82
72
17
1 0
!ADD,IIH
X4
,
X3;
83
72
17
1 0 !ADD,IIH
X4,
(X3.
':togo
1;
84
72
17
1 0 ! ADu,
IIH
X4,5;
85
u.
17
1 0
!SU~.IIH
X4,X3;
85
72
il
1 0
!SUB,IIH
X4,S;
81
72
17
1 0 !
HUL
T ,
IIH
X4,X3;
88
72
17
1 0
!MULT.I/H
X4,
(X3
,40961;
89
72
17
1 0
!LlIV,IIH
X4,X3;
90
.
72
17
1 0 ! C
OMt'
X4.
X3;
91
72
17
1 0
!COMP,IIH
X4,X3;
9c.;
72
17
1 0 . ! Aq;::q
X4.X3,409e,;
':13
72
17
1 0
!8RNt:
X4.
X3,
IIOFP(L8Ll);
94
7c.
17
1 0 ! 8
RG
T
X4~X3,
409~);
9S
72
17
1 0
!8R('E
X4,X3,OOF2(LBL2,LBL1);
9f>
7e.
17
1 0 !BP.EQ,IIH
}(1t,X3,409r;;
i.Jl
72
.
'17
1 0
!3KNE,IIH
X4.)(3,4096;
9!1
72
17
1 0 !
Ij
~G
T ,
II
H
X4,X3,4096;
9':1
72
17
1 0 !rlRr.C:.I1H X,+,
X3,
40<36;
Lily
72
17
1 0
!DOlCOP
X4,
X3,
409&;
lul
72
17
1 ·0
fUR
AC,AO,409e>;
102
72
17
1 0
faR
[BP,X4l;
103
72
17 1 0 !
OR
AC,
X4;
104
72
17
1 0
!COpy
X'+,X3;
lOS
72
17
1 0
!COpy
X4
,AC;
lU6
12
17 1 0 !CO?Y
AC,
AD;
1il7
72
17
1 0 !
COpy
AC
t
X4;
108
12
17 1 0
ICOPY,OH
X4 t
X3;
10~
.
7~
17
1 0 !AOCA
AC
t
AD
,4095
1;
IPL-SOFrWA~E
lNGINEERING
SYSTEM
11-4
ISWL/CI V2.0
ERS
09/01/75
______________
'
REV
a 8
~-----------------------------------------------------
11.0
APPENJIX H -
MACHINE
UREAKOUT
EXAMPLE
PG
3
STU
AUTO
?R
NS
1
ISWl/I?l
VERSION
2.0,
lEVEL
o.
110
72
17
1 0
!AODA,f!P
AC,[Xt,OOFP(L6L111;
111
72
17
1 0 !AflOA
AC,X3;
11~
72
17
. 1 0
!EillER,
flPOS
X4,
15;
113
72
17
1 0 !E.rHC::R,IIt-;EG
.XIt,15;
114
72
17
1 0
ENTc.~,
f!EXTD
·XLt,40go;
ll'i
72
17
1 a
fNlE"',
flXO
78;
116
72
17
1 0
EiHE~,
IISIGN
X4
,
15.;
117
u.
17
1 0 ROTATE XLt,
X3,
[X2,lD];
118
72
17
1 0
SHIFT
X4,X3,
[X2,10];
119
72
17
1 0
SHIFT,I/H
X4,X3,[X2,10J;
12il
72
17
1 0
OK
X4
,X3;
121
72
17
1 0
XOR
X4,X3;
122
72
17
1 0 ANJ X
It,
X
3;
1:23
72
17
1 0 !NOT
X4,
X3;
124
72
17
1:
0 !
HI
!-11
8
X4,X3;
12~
72
17
1 a !MASI(
XIt,[X3,10J;
126
72
17
1 a
IS
OlA·TE X 4 , X
3,
[X 2 , 1
ol
;
127
12
17
1 0 INSERT
X4,X3,[X2,10];
128
72
17
1 a
MOVE
AA
,AB;
129
72
17
1 a
AOO
(A4,AB,100],[A5,A9,100];
1"30
72
·17
1 0
SU13
[A4,A8.1001,
[AS,
fl9,lOOl;
131
72
17
1 0
MUll
[A 4 ,A 8
,1))0
] , [A 5 , A
c)
, 1,0 0 1 ;
132
72
17
1 0
OIV
(~4,
A 8
~
100]
, [ A
5;
49,
100
J ;
133
72
17
1 0
SCALE:
[A4
,
A8
,10
0 ] , [A 5
.•
A c), 1 0
0]
;
134
72
17
1 a
!SC~Lt:f;'OUND
(A4,A8,10o],
[45,A9,100];
135
72
17
1 0
!COMPti/uEC
(A4,flS,1001.[A5,A9,1001;
136
72
17
1 0 !COMP [ A 4
,·A
13,
1
00
1 [
AS,
A
9,10
0 1 ;
137
lC.
17
1 0 !
CO!~P,
tlCOll
[A4,A8,100),
[A5,A9,!OOl;
138
72
17
1 0 ! S C
Atl
( A 4 , A 3
,10
a
l,
[
A5,
Ac),
100
1 ;
139
72
17
1 0 !TRANSLATE
[A4,A8,101)],
[A5,A9,100);
140
72
17
1 0
!MOVE
[A4,A8,1001,[A5,A9,10D];
141
72
17
1 0 ! EDIT
[A4,A8,1001,[A5,A9,1001;
142
72
17
1 0 !M1VE,ilNUM (A 4.,
A8,
1 0
iJ
J,
[AS,
A9,
1 il 01 ;
143
72
17
1 0 !MCVE,ffFORMAT.'FORMAT
[A
4,
A 8
,1001,
[A
5,
A
9,
100
1 ;
144
72
17
1 0
!ADO,IIF,
ilF
[A4,A8,10Ql,[A5,A9,lQ01;
145
72
17
1 0
!CALCSU8
(A4,Ad,1001,[A5,A9,1001;
146
72
17
1 0 !CONV,
liP.
X4,
X,~;
147
72
17
1 0 !CCNV X
4,
X3;
148
72
17
1 0 !
MlO,tI
R.
X4,
X3;
.149
72
17
1 0
lSurl,IIR
X4,X3;
150
72
17
1 0
!AOll,I!R,
flUN
X4,
X3;
151
72
17
1 0 1
SJ8,
II
R.
,flUN
X4,X3;
152
72
17
1 0 !MULT,flf{
X4,X3;
1:i3
72
17
1 0
!DIV,IIR
X4,
X
3;
1~4
72
17
1 0 . !
ADO,
II
OR
X4,
X3;
15S
72
17
1 0 !SU:I,I!UI-l.
X4,X3;
1~6
72
17
1 0 !MULT,IJOR
X4,X3;
157
12
17
1 0
!UIV,fIOK
X4,X3;
158
72
17
1 0 !
aREa,
IJR
X4,
X3
,4090;
1\19
72
17 1 0
!O~NE,
IJR
X4,X3,4096;
1&0
72
17
1 0
IORGT.flR
XIt.X3,
!t096;
101
72
17
1 0
!HRGE.
fiR
X4,X3,4096;
1tlc!
72
17
1 a ! BR,IIUNOFLO
X3.
409
6;
1b3
72
17
1 0 !CU:1P.tH{
X4,X3;
1&4 '72
17
1 Q ICALL
(AA,151.AB,AC;
I:.PL-SOFIWARr: t:NGINt:ERING SYSTEM
rSWL/cr
V2.
0 ERS
11-6
09/01/75
REV
I e
----------------------------------------------------------~---------
tl~O
APPENDIX
H -
MACHINE
BREAKOUT
EXAMPLE
~~--~~~-------------~-----~-~-~------------------------------~~---~---
S.LN
OPC
$ECi/OFFSET
--TEXT--
IPL
OP
REF
2040EF
EPT
CS
00032A R
HBE:XAMP
205
FIN
AIN
as
000000
P ACST)
AIN
as
OuDD08 P ACLT)
SECTION
HAP
OF
MOOULE:
MBEXAMP
o
CS
000348
CODE
SECTION
3 8S
000010
B1NDING
SECTION
2
LT
Q~0017
HO~KING
SECTION
1 ST
000048
HaRKING
SECTION
TRANSfER
NAME:
MO~XAMP
READ
READ
READ
READ
EXECUTE
BINDING
WRITE
NCR/CDC PRIVA
TE
IP~~snFTWAR~
~NGINEERING
SYSTEM,
IS~WL/c.;I
V2.0
ERS
11~.7
0.9/01/75
REVa
8,
~".fI!III"-"'''
--
_Aoo
.w_
....
_
__
~oY
.....
..".
__
.~_
....
---
..
_~_.
__
-:-'
..
_..,.._
...
_________
-.
--
•.
fIl!II'
"'_."~
__
__
....
_____
.....
11
.•
0.
APPENLlIX,
H - MACHINE ORt:AKOUT
EXAMPLE
....
--.~"'!W
.....
-.
...,-'!W~.-.--
....
-~--~
__
.~
___________________________
_______________
.........
__
LINE'
OFFSET
L.1"lE
OFFSt:1
LINE
OFFSF.f
L.INE
OFFSET
1
CS+llOilOUD
92
CS + OOIl1U 8
14i'
CS
+
OOU
2RE
204
CS+DDD328
23
CS+IlUU
O:,;U
93
L:S+OOOILJC
143
CS+I]OU2':l0
205
CS+00033E
33
C.S
+oj ,hJ 0 u 0
94
CStUCOIEO
14'3
CS+OO02'32
4D
CS+UilUOIA
95
CS+
000lE4
150
CS+JOOZ'34
Itl
(:S+001)026
~6
CS+000IE8
151
CS+OOO
296.
42
CS+IlUUOf:·/i
97
CS+OOO1!:.C
152
CS+!Jil02fJ8
43
CS+OllOll.4A.
YI)
L:S
..
OJOIFO
153
CS+
I]
0·0
29A
44
CS+OOOOEC
q9
CS+000lF4
154
CS+OO029C
45
CStOlloJll.A
100
C!;+OiJOlF8
ISS
CS+:)tJ029E
40
CS+OoJ0122
1U 1 C;:,+OOOLFC
156
CSt
DilD 2AO
47
CS+OO;J
128
1,) 2
C::.
til
oJ
0 2!l 0
·157
CS
tOOQ.2A2
46
CS
t
OOiJl?E
11]
3
CS+OO02U2
158
CS+0!l02A4
49
CSt
000
U4
lU4
CStOO·02U4
lS'J
CS+!l002AO
5U
CS+lJOu
1..SC
1il5
(;S+00U200
1&LJ
C::'+!lOU2AC
51
CS+QUO
144
lUt.
CStQJ0208
161
CSt
000
200
52
CS+OUO.l
.. C
1n
7
CS+00020A
162
CS+u00294
7.3
CS+IJJ0154
III 8
CS+iJ0020C
163
CS+;)OfJ2B8
5.1t
CS+QuOl=;iC
10c)
C~+00u20E
164.
CS+uOU28A
55
CS+OuOH6
110
CS+OtlO212
165
CS+OfJ02E3E
C;p
CS
+Ouo
,1..,&
.
1~,.1
CS.+(lo)02l&
106
CS+i)tlO2C2
'57
C;3+110016A
112.
CSt-0002l8
1&7
CS+IlDOlC4
~tl·
CSt.UOD
10E
1;1'3
CStOOO
21A
168.
CS+OO02C6
5;9
CS+!lOIl1/2
H4
cs+oa021C
lo9CS+OOU2C8
60
CS+00.0.176
115
CS+O.o0220
171)
CS+0002CA
.
61
CS+OilO
ItA
.116
CStOO02Z2
171
CS+OO02CC
62
C.)+OOD17E
117
~S+Oil0224
172
'CS+UiJU2CE
&3
CStOO01'~2
118
CS+000,28
173CS+OO0200·
64
CSt
OU01'l6
119
C.:it1l0022C
174
,
CS+uiIOc02
65
CS+OOO·l!;lA
120
CS+OuJc30
.
175
C!:)+.i.lOO
204
6&
CS+OO01IlE
121
CS+OO02,s2
176
CS+OG0206
.
&.7
CSt-DOD
192
122
CS+LlO02.s4
177
CSt
1')0,0
208
6~
CS
+0
...
0
1%
12.s
CStGOil23&
178
CS+OOO2UA
&9
CS+0001':lA
124
CStOO0238
179
CS+OU02DC
7.0
CS+DO!')
bE
1t: 5
CStOO02JA
1811
CS+'J;J02DE
71
CS+('OOl.iI~
120
:';S+OO02.sE
181
CS+U002E2
72
CS+ilOO
lAG
127
CStOO0242
182
CS+U002E6
73
CSt
UilO1AA
128
CS+000246
1a3
CS+OO02ES
74
CS+Ou01AE
129
CSttJ00248
184
CS+uil02EC
7'5
CS+uOO1.t.2
130
C$tOO024C
185
C~+OUG2Fa
76
CS tOOO
164
1.s1
CStOOO2'.i0
l~G
CSt
:lOU
2F2
n
CS+O');]
!tIG
1,)2
CS+OOO2S4
187
eS+::J002F4
78
CS+000l.B8
133
CStOO02!)8
1811
CS+OOIl2F8
7~
CStOOil1o:.:A
134
CSt
0.OO~5C
18<.1
eS+OIJ02FC
8"~S +lJOil1l.;C
U5
C!::>+001l260
19U
CS+1l01l3UU
61
CStU001!iE
136
(;$+0.00204
191
CS+
OOU
304
tS2
CS+1l00
It-O
137
CS
..
000268
192
CSt
000
306
8J
CS+OOo)
le2
138
~S+OIl020C
193
CS+00UJ08
84
CStOOO1;C6
1.)9CS+OU02/0
194
eS+00030A
85
CStOUOIC8
140
C~tOOO274
195
C:l+OOUJUC
86
CS tOol 0
l;,.A
141
CS+1J00C78'
l':1G
Cs+·oou
3.1.0
87
CS+OOO
lce
142
C!l+OOO2/C
197
C!:)+Qllu:!14
88
CS+UOolICE
143
(;S+OOU
2dO·
198
CS+
000318
a':J
CS+OUOlu2
14,4
CS+000284
199
CS+OOU
31C
9.0
CS+OUU1!J4
14.5
CSt
OOOZ88 2UO
CS+OJ0320
91
CS+OO(Hi)t)
146
CS
..
OQ02I1C
,01
cs+00a3Z4
NC.R/CDC PRJ
VA:T-E

Navigation menu