!CROSS.RNO NAB 09-AUG-79/27-FEB-81 .UPPER CASE .PAPER SIZE 60,72 .TAB STOPS 8,16,24,32,40,48,56,64 .LEFT MARGIN 8 .RIGHT MARGIN 64 .DATE .NUMBER .TITLE ########BASIC CROSS REFERENCING PROGRAMS .FIGURE 4 .CENTER BASIC CROSS REFERENCING PROGRAMS .PARAGRAPH Three versions of the BASIC cross referencing programs exist. They are CROSS.BAS, CROSSV.BAS and the three part CROSS0.BAS, CROSS1.BAS and CROSS2.BAS. CROSS.BAS requires the most memory and executes the fastest. CROSSV.BAS puts some arrays out on the system disk to reduce memory requirements at the expense of operating speed. In addition to putting the arrays on the system disk CROSS0.BAS chains to CROSS1.BAS which in turn chains to CROSS2.BAS. This chaining further reduces memory requirements with an additional decrease in operating speed. .PARAGRAPH User interaction with all three versions of the cross referencing program is identical. After issuing the appropriate RUN command the user is asked to enter the input file specification for the BASIC program to be cross referenced. The default input device is SY: and the default extension is .BAS. Then the user is asked to name the output device. LP: is the default output device. If a file structured device is named for output the output file name is the same as that of the input file with an extension of .CRF. .PARAGRAPH The following table shows the memory requirements and the execution times for the three versions of the cross referencing program. The PDP-11/23 had 32K words of MOS memory and an RX02 disk. The PDP-11/10 had 32K words of core memory and an RK05 disk. The PDP-11/34A had an FPU, cache memory, 32K words of core memory and an RK05 disk. The monitors used were RT11FB V04.00C and RT11SJ V04.00A. In all cases CROSS.BAS was the input file and NL: was the output device. A greater difference in execution times between CROSSV and CROSS0/1/2 would have been observed if a file structured device had been named for output. .LEFT MARGIN 16 .NOFILL .NOJUSTIFY .BLANK Program Memory 11/23 11/10 11/34 .BLANK Monitor FB FB SJ USR SWAP No No Yes BASIC's OTS NHD NHD FPU .BLANK CROSS 12929 4:28 6:03 2:31 CROSSV 7621 8:12 6:08 3:53 CROSS0/1/2 5451 8:31 6:28 4:01 .LEFT MARGIN 8 .FILL .JUSTIFY .PAGE .PARAGRAPH The following table lists the various files and their current versions: .NOFILL .NOJUSTIFY .BLANK File Version .BLANK CROSS.BAS 81B27C CROSSV.BAS 81B27B CROSS0.BAS 81B27A CROSS1.BAS 81B27A CROSS2.BAS 81B27A .BLANK 3 N.#A.#Bourgeois, Jr. / 1738 Sandia National Laboratories P.#O.# Box 5800 Albuquerque, NM 87185 .FOOTNOTE 1 81B27B ! END OF FOOTNOTE .BREAK