
32
[ 4 ] Outputting list files
The Compiler may output three types of list files as listed below depending upon the options
specified at the start of compiling, in order to help you program and debug efficiently.
List File Option Filename Extension
Address-source list
Symbol table
Cross reference
Select the Address-source List check box.
Select the Symbol table check box.
Select the X (Cross) reference check box.
.LST
The list file will be given the same name as the source program file and annexed with an
extension .LST.
When outputted, each list file has the header format as shown below.
BHT-BASIC 3.5 Compiler Version X.XX ←Version of BHT35CPL.DLL
Copyright (C) DENSO WAVE INC. 2001-2002. All rights reserved.
source = Source filename.ext (to be given as an absolute path)
Address
AddressAddress
Address-
--
-source list
source listsource list
source list
Select the Address-source List check box and run the Compiler, and the following information
will be outputted:
BHT-BASIC 3.5 Compiler Version X.XX ←Version of BHT35CPL.DLL
Copyright (C) DENSO WAVE INC. 2001-2002. All rights reserved.
source = C:¥TEST.SRC
Statement
'******************************************************
'*
ON ERROR GOTO ErrorProg
DEFREG vF%=0
DEFREG ConF%=0
DEFREG RecF%=0
DEFREG FreeSpace
DEFREG ESC =-1
DEFREG bps$="9600"
REM $ INCLUDE : 'SAKeyFnc.SRC'
Master$ = "Master92.DAT"
Workfile$ = "WrkFils.DAT"
Sales$ = "SalesSA.DAT"
IF vf% = 0 THEN
GOSUB cautionB
CLOSE
Freespace = FRE(1)
vF%=1
END IF
MainProg:
Addr
0000
0000
0000
0003
0003
0003
0003
0003
0003
0003
0003
0338
0338
0338
034A
035C
036D
036D
0377
037A
037E
0387
038E
038E
038E
Line
0001
0002
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032
0033
0034
0035
0036
GOSUB filOpen
0000 Error Statement Compiled End.
Address of object program in
intermediate language
Source program statement
Line number in source
program
Komentáře k této Příručce