Preparation Of Linking; Adjusting Tool (Submk.exe) For Start Address - Casio DT-930 Series Quick Start Manual

Casio dt-930 series barcode scanner
Hide thumbs Also See for DT-930 Series:
Table of Contents

Advertisement

2.6.1 Preparation of Linking

Before linking, you have to create SUBCOMMAND file. This file contains settings needed by the
linker.
<SAMPLE.SUB>
INPUT
A
LIBRARY
LIBRARY
B
ROM
START
C
OUTPUT
PRINT
FORM
EXIT
A. Specify objects which constitute application program
The startup files for DT-930 series (i.e. AP_START.OBJ,AP_INIT.OBJ) and application
program.
B. ROM support option
Specify "D" and "R" sections in order to split your application data area into initialized
area and un-initialized area.
C. Start address of the application program
This value must be "09048030".
Note:
Refer to the SH-C manual for the detail.
[Usage]
LNK -SUBCOMMAND=<SUBCOMMANNND_file name>

2.6.2 Adjusting Tool (SUBMK.EXE) for Start Address

This tool re-calculates the start address of "B" and "R" sections based on the information from
MAP file, and edits SUBCOMMAND file. After having corrected SUBCOMMAND file, your
application program has to be linked again.
Caution:
Because the tool starts modifying the SUBCOMMAND file directly, back up it before using the
tool.
[Usage]
SUBMK SUBCOMMANNND_file name
C:\DT930\OBJ\AP_START.OBJ,&
C:\DT930\OBJ\AP_INIT.OBJ,&
C:\DT930\AP\SAMPLE.OBJ
C:\SHC\LIB\SHCLIB.LIB
C:\DT930\LIB\HICIF.LIB
(D,R)
P,C,D,hicif(09048030)
.\SAMPLE
.\SAMPLE
A
11

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents