English
Language : 

CC78K4 Datasheet, PDF (280/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
10.5.1 Using batch files
Use the batch files in the subdirectory BAT. Because these files are the batch files used to activate the assembler
and librarian, an environment in which the assembler package RA78K4 Ver. 1.50 or later operates is necessary.
Before using the batch files, set the directory that contains the RA78K4 execution format file using the
environment variable PATH.
Create a subdirectory (LIB) of the same level as BAT for the batch files and put the post-assembly files in this
subdirectory.
When a C startup routine or library is installed in a subdirectory LIB that is the same level as BAT, these files are
overwritten.
To use the batch files, move the current directory to the subdirectory BAT and execute each batch file. At this
time, the following parameters are necessary.
Product type = chiptype (classification of target chip)
4026 ··· µPD784026, etc.
The following is an illustration of how to use each batch file.
The batch file for:
(1) Startup routine
• For PC-9800 series, IBM PC/ATTM and compatibles
mkstup chiptype
Example mkstup 4026
• For HP9000 series 700™, SPARCstation™ Family
/bin/sh mkstup.sh chiptype
Example /bin/sh mkstup.sh 4026
(2) Firmware ROM routine update
• For PC-9800 series, IBM PC/AT and compatibles
reprom chiptype
Example reprom 4026
• For HP9000 series 700, SPARCstation Family
/bin/sh reprom.sh chiptype
Example /bin/sh reprom.sh 4026
280
User’s Manual U15556EJ1V0UM