Calling Non-BASIC-SO Subroutines

BASIC-SO

 

 

 

ISIS-II PL/H-8B Vl.l COMPILATION OF MODULE PLHHODULE OBJECT ",oDULE PLACED IN :Fl:USRPLM.OBJ

COMPILER INVOKED BY: PLH8B :Fl:USRPLH.PLH

PLM:$HODULE:

 

 

DO;

 

 

 

2

1

USRPLH: PROCEDURE(PRESULT,PARGA;PARGB,PARGC);

3

2

DECLARE

(PRESULT,PARGA,PARGB,PARGC) ADDRESS;

4

2

DECLARE

(RESULT

BASED

PRESULT~

 

 

ARCA

BASED

PARCA.

 

 

 

ARCS

BASED

PARCB.

 

 

 

ARCC

BAseD

PARCe)

ADDRESS;

5

2

RESULT=ARGA+ARG8+ARGC;

 

6

2

END USRPL";

 

 

1END PLIUHOOULE;

CODE AREA

SIZE

 

BB32H

SBD

VARIABLE

AREA

SIZE

BlUSH

SO

~AXI"U" STACK

SIZE

BBB4H

40

11 LINES

READ

 

 

 

a PROGRAM

ERROR(S)

 

 

Figure E-3. PL/M-80 Program

FORTRAN

COMPILER

1

FUNCTION IRTN(IARCA,IARGB,IARCC)

2

IRTH=IARGA+IARG8+IARGC

3

RETURN

4

END

CODE AREA SIZE

 

BB20H

450

VARIABLE

AREA

SIZE

OBB8H

SO

HAXI"UH

STACK

SIZE

BBB4H

40

4 LI NES

READ

 

 

 

B PROGRAM ERROR(S) IN PROGRAM UNIT IRTN

B TOTAL PROGRAM ERROR(S)

END OF FORTRAN COMPILATION

Figure E-4. FORTRAN-80 Program

E-6

Page 92
Image 92
Intel 9800758-02 manual Figure E-3. PL/M-80 Program