Download NC77 V.5.20 User`s Manual

Transcript
Chapter 1 Introduction to NC77
1.4 NC77 Output Files
This chapter introduces the preprocess result C source program output when the sample
program smp.c is compiled using NC77, the assembly language source program, and the
stack utilization display file.
1.4.1 Introduction to Output Files
With the specified command line options, the nc77 compile driver outputs the files shown
in Figure 1.5. Below, we show the contents of the files output when the C source file smp.c
shown in Figure 1.6 is compiled, assembled, and linked.
See the RASM77 User Manual for the relocatable object files (extension .r77), print files
(extension .prn),and map files (extension .map) output by rasm77 and link77.
C source file
cpp77
Preprocessor
nc77
command
C source file from
preprocess
-P
Compiler
ccom77
nc77
command
Assembly
language source
file
-S
Branch optimizer
loop77
Assembler
rasm77
nc77
command
Stack utilization
display file
Debug data file
-fSSU
nc77
command
-gie
stk77
nc77
command
Stack size
calculation utility
Relocatable
object file
-c
Calculation
result display file
link77
Linkage editor
s2ie
Symbol
file
Intel HEX
file
IEEE-695 absoluteformat file converter
IIEEE-695
-format
file
:Output file by nc77
Figure 1.5
Relationship of nc77 Command Line Options and Output Files
NC77 MANUAL-5