Sign In
Upload
Manuals
Brands
Texas Instruments Manuals
Computer Hardware
TMS34010
Texas Instruments TMS34010 Processor Manuals
Manuals and User Guides for Texas Instruments TMS34010 Processor. We have
2
Texas Instruments TMS34010 Processor manuals available for free PDF download: Reference Manual, User Manual
Texas Instruments TMS34010 Reference Manual (181 pages)
c compiler
Brand:
Texas Instruments
| Category:
Computer Hardware
| Size: 4.8 MB
Table of Contents
Table of Contents
4
1 Introduction
8
Section Page
8
Software Development Tools Overview
9
TMS34010 Software Development Flow
9
Related Documentation
11
Style and Symbol Conventions
12
Getting Started
13
2 Compiler Installation
16
Section Page
16
Installing the C Compiler on IBM/TI Pcs with PC/MS-DOS
17
Installing the C Compiler on VAX/VMS
18
Installing the C Compiler on UNIX Systems
19
Installing the C Compiler on Macintosh/Mpw Systems
20
Compiling a C Program
22
3 Compiler Operation
23
Input and Output Files for the C Preprocessor
23
Invoking the C Preprocessor
23
Preprocessor (Gspcpp) Description
23
General Information
24
Specifying Alternate Directories for Include Files
25
Input and Output Files for the C Parser
27
Invoking the Parser
27
Parser (Gspcc) Description
27
General Information
28
Code Generator (Gspcg) Description
29
Input and Output Files for the C Code Generator
29
Invoking the Code Generator
29
Pointers to Named Variables (-A Option)
30
Checking for Stack Overflow (-X Option)
31
Small Code Model (-S Option)
31
Compiling and Assembling a Program
32
Linking a C Program
34
Runtime Initialization and Runtime Support
34
An Example of a Linker Command File
35
Sample Linker Command File
35
Autoinitialization (ROM and RAM Models)
36
The -C and -Cr Linker Options
36
Archiving a C Program
37
4 The TMS34010 C Language
39
Identifiers, Keywords, and Constants
39
TMS34010 C Data Types
41
Conversions
43
Object Alignment
43
Expressions
44
Declarations
45
Asm Statement
47
Initialization of Static and Global Variables
47
Lexical Scope Rules
48
Runtime Environment Memory Model
51
Sections
51
Memory Model
51
Stack Management
52
The Program and System Stacks
52
Dynamic Memory Allocation
53
RAM and ROM Models
53
Allocating Memory for Static and Global Variables
54
Array Alignment
54
Packing Structures and Manipulating Fields
54
Register Conventions
55
Dedicated Registers
55
Using Registers
55
Register Variables
56
An Example of a Function Call
57
Responsibilities of a Called Function
58
Function Structure and Calling Conventions
57
Responsibilities of a Calling Function
57
Accessing Arguments and Local Variables
59
Setting up the Local Frame
59
Returning Structures from Functions
60
Assembly Language Modules
61
Interfacing C with Assembly Language
61
Inline Assembly Language
64
Modifying Compiler Output
64
Interrupt Handling
65
Floating-Point Formats
66
Floating-Point Support
66
Floating- Point Support
66
Integer Expression Analysis
66
Double-Precision Format
67
Double-Precision Functions
68
Single-Precision Functions
69
Conversion Functions
70
Floating-Point Errors
70
Initializing the Stack
71
System Initialization
71
Autoinitialization of Variables and Constants
72
Format of Initialization Records in the .Cinit Section
73
ROM Model of Autoinitialization
74
5 RAM Model of Autoinitialization
75
Diagnostic Messages (Assert.h)
77
Runtime-Support Functions Header Files
77
Character Typing and Conversion (Ctype.h)
78
Limits (Float.h and Limits.h)
78
Floating-Point Math (Math.h, Errno.h)
80
Nonlocal Jumps (Setjmp.h)
80
General Utilities (Stdlib.h)
81
Standard Definitions (Stddef.h)
81
Variable Arguments (Stdarg.h)
81
String Functions (String.h)
82
Time Functions (Time.h)
83
Summary of Runtime-Support Functions and Macros
84
Functions Reference
89
Abort
91
Abs
92
Asin
95
Assert
96
Atan
97
Atan2
98
Bsearch
101
Calloc
102
Ceil
103
Clock
104
Cos
105
Cosh
106
Ctime
107
Difftime
108
DIV
109
Exit
110
Exp
111
Fabs
112
Floor
113
Fmod
114
Free
115
Frexp
116
Gmtime
117
Isxdigit
118
Idexp
119
Localtime
120
Log
121
Log1 0
122
Itoa
123
Malloe
124
Memmove
128
Mktime
131
Modf
132
Pow
134
Qsort
135
Realloe
137
Sin
138
Sinh
139
Sqrt
140
Strerror
146
Strlen
148
Strpbrk
152
Strspn
154
Strstr
155
Tan
158
Tanh
159
Time
160
A Error Messages
164
Advertisement
Texas Instruments TMS34010 User Manual (128 pages)
C Compiler
Brand:
Texas Instruments
| Category:
Computer Hardware
| Size: 4.62 MB
Table of Contents
Table of Contents
4
1 TMS34010 C Compiler Package Product Overview
8
Applicable Documents
9
Documentation Conventions
9
2 TMS34010 C Compiler Package Installation
10
Installation for Texas Instruments and IBM PC Systems
11
Hardware Requirements
11
Installation for TIPC and IBM PC Systems with Dual Diskette Drives
11
Installation for PC Systems with a Winchester Disk and Single Diskette Drive
12
Tools Verification on PC Systems
13
Installation Procedure
15
Tools Verification
15
VAX/ULTRIX and VAX/UNIX System
16
Tools Verification on ULTRIX and UNIX Systems
16
3 Invocation and Operation of the TMS34010 C Compiler
18
The TMS34010 C Preprocessor (GSPCPP)
19
Invoking GSPCPP
19
GSPCPP Options
19
Operation of GSPCPP
20
The TMS34010 Parser (GSPCC)
20
Invoking the Parser
20
Operation of the Parser
21
The Code Generator (GSPCG)
21
Invoking GSPCG
21
GSPCG Options
22
Input Requirements
23
GSPCG Output
23
Batch Execution of the C Compiler ,3-6
23
Assembling a C Program
24
Archiving a C Program
24
Linking a C Program
24
Run-Time Initialization
24
Object Libraries and Run-Time Support
25
The -C Option in the Linker
25
Linker Command File
25
The TMS34010 C Language
28
Identifiers and Keywords
29
Constants
29
TMS34010 C Data Types
29
Derived Types
30
Object Alignment
31
Conversions
31
Expressions
31
Void Expressions
31
Primary Expressions
32
Unary Operators in Expressions
32
Assignment Operators in Expressions
32
Declarations
32
Storage Class Specifiers in Declarations
32
Type Specifiers in Declarations
33
Structure and Union Declarations
33
Enumeration Declarations
34
Initialization of Static and Global Variables
35
8Sm Statement
35
Lexi~Al Scope Rules
36
5 TMS34010 C Run-Time Environment
38
Memory Model
39
TMS34010 C Stacks
39
Global Variable Memory Allocation
40
Structure Packing and Field Manipulation
40
Array Alignment
40
Register Conventions
41
Dedicated Registers
41
Using Registers
41
Register Variables
42
Integer Expression Analysis
42
Floating Point Conventions
43
Function Call Conventions
44
Register Usage Within Functions
45
Passing Parameters
45
Local Frame Generation
46
Function Termination
47
Restoration of the Cauer's Environment
48
Return from Function
48
Interrupt Handling
48
System Initialization
49
System Stack
50
Program Stack
50
Initialization of Global Variables
50
TMS34010 Run-Time Support
52
Memory Management
53
Specifying the Size of Memory to Manage
53
String Functions
53
Character Typing and Conversion Macros
54
Miscellaneous Functions
54
A Fatal Errors
78
8 Reference Documents
80
C C Preprocessor Directives
82
D Floating Point Facility
92
E Interfacing Assembly Language with C
120
Advertisement
Related Products
Texas Instruments TMS320DM643
Texas Instruments TMS320C82
Texas Instruments TMS320 DSP
Texas Instruments TMS320C642 Series
Texas Instruments TMS320*2801 Series
Texas Instruments TMS320C55 Series
Texas Instruments TMS320DM6433
Texas Instruments TMS320F28075
Texas Instruments TMS320C2 Series
Texas Instruments TMS320F28375D
Texas Instruments Categories
Motherboard
Control Unit
Microcontrollers
Computer Hardware
Calculator
More Texas Instruments Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL