Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3350 Datasheet(PDF) 81 Page - STMicroelectronics

Part # AN3350
Description  eTPU compiler tools
PDF  185 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3350 Datasheet(HTML) 81 Page - STMicroelectronics

Back Button AN3350 Datasheet HTML 77Page - STMicroelectronics AN3350 Datasheet HTML 78Page - STMicroelectronics AN3350 Datasheet HTML 79Page - STMicroelectronics AN3350 Datasheet HTML 80Page - STMicroelectronics AN3350 Datasheet HTML 81Page - STMicroelectronics AN3350 Datasheet HTML 82Page - STMicroelectronics AN3350 Datasheet HTML 83Page - STMicroelectronics AN3350 Datasheet HTML 84Page - STMicroelectronics AN3350 Datasheet HTML 85Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 81 / 185 page
background image
AN3350
Working with the ELF linker
Doc ID 018512 Rev 2
81/185
11.3.5
Expressions, variables and integral types
This section describes various expressions, and variable and integral types.
Variables and symbols
Symbol names in a linker command file consists of letters, digits, and underscore
characters. Example 16 shows examples of valid symbol names. Traditionally, symbols
defined inside a linker command file start with an underscore character
Example 16 Valid symbol names
_dec_num = 99999999;
_hex_num_ = 0x9011276;
Expressions and assignments
You can create global symbols and assign addresses to these global symbols using the
standard assignment operator, as shown:
_symbolicname = some_expression;
You must place a semicolon at the end of each assignment statement.
You must place assignments only at the start of an expression. For example, the linker
would reject the following expression:
_sym1 + _sym2 = _sym3;
// ILLEGAL!
When the linker evaluates an expression and assigns it to a variable, the linker gives it either
an absolute or a relocatable type. An absolute expression type is one in which the symbol
contains the value that it will have in the output file. A relocatable expression is one in which
the value is expressed as a fixed offset from the base of a section.
Integer types
The syntax for linker command file expressions is very similar to the syntax of the C
programming language. The linker stores and manipulates integer constants by using 32-bit
signed arithmetic.
Octal integers (commonly known as base eight integers) start with a leading zero, followed
by numerals in the range zero through seven. For example, here are some valid octal
patterns you could put in your linker command file:
●
_octal_number = 01234567;
●
_octal_number2 = 03245;
Decimal integers start with non-zero numeral, followed by numerals in the range of zero
through nine. Here are some examples of valid decimal integers you could put in your linker
command file:
●
_dec_num = 99999999;
●
_decimal_number = 123245;
●
_decyone = 9011276;



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com