Compiling and Assembling
The process starts with source files written in C, C++, or assembly. The
compiler (or a code developer who writes assembly code) organizes each
distinct sequence of instructions or data into named sections, which
become the main components acted upon by the linker.
Inputs – C/C++ and Assembly Sources
The first step towards producing an executable file is to compile or assem-
ble C, C++, or assembly source files into object files. The VisualDSP++
development software assigns a
Source Files
(.C, .CPP, .ASM)
Figure 1-1. Compiling and Assembling
Object files produced by the compiler (via the assembler) and by the
assembler itself consist of input sections. Each input section contains
a particular type of compiled/assembled source code. For example, an
input section may consist of program opcodes or data, such as variables
of various widths.
Some input sections may contain information to enable source-level
debugging and other VisualDSP++ features. The linker maps each input
section (via a corresponding output section in the executable) to a memory
segment, a contiguous range of memory addresses on the target system.
VisualDSP++ 3.5 Linker and Utilities Manual
for 16-Bit Processors
extension to object files
.DOJ
Compiler and
Assembler
Introduction
(Figure
Object Files
(.DOJ)
1-1).
1-3
Need help?
Do you have a question about the VisualDSP++ 3.5 and is the answer not in the manual?
Questions and answers