Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN3350 Datasheet(PDF) 55 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) 55 Page - STMicroelectronics

Back Button AN3350 Datasheet HTML 51Page - STMicroelectronics AN3350 Datasheet HTML 52Page - STMicroelectronics AN3350 Datasheet HTML 53Page - STMicroelectronics AN3350 Datasheet HTML 54Page - STMicroelectronics AN3350 Datasheet HTML 55Page - STMicroelectronics AN3350 Datasheet HTML 56Page - STMicroelectronics AN3350 Datasheet HTML 57Page - STMicroelectronics AN3350 Datasheet HTML 58Page - STMicroelectronics AN3350 Datasheet HTML 59Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 55 / 185 page
background image
AN3350
Working with the assembler
Doc ID 018512 Rev 2
55/185
10.2.2
File extensions
In case the type of file makes a difference to the tool, the type is taken from the file’s suffix.
Extensions and their meanings are shown in Table 3.
In order to force one of these types on an arbitrary given input file, the option -ex can be
used with one of the regular extensions known to represent the requested type. For
example, -ex .o is used to convince etpu_bins that its input is an Elf relocatable object
file.
When no output format (-elf or -srx) is explicitly selected, as in the example etpu_bins
--asm file.s
, the tool will check syntax validity and no output will be produced. When the
-srx
switch is added, the created file will have the extension .srx (not .srec).
10.2.3
Command-line syntax
The command-line syntax for the assembler is:
etpu_bins --asm [options] inputFile
The assembler does not require special filename extensions for input file names and ignores
the actual filename extension specifed on the command line. Instead, the assembler uses
the base filename to append appropriate extensions when generating the output file names.
For example, this command line causes the assembler to assemble file.s into an S-
record file named file.srx:
etpu_bins --asm -srx file.s
The assembler normally reports error messages to stderr, but you can redirect error
messages to a file by supplying the -err filepath command-line switch. The assembler
indicates the total number of error messages in the tool exit status.
Note:
To detect and report invalid instruction sequences, use the -lint command-line switch.
Table 3.
File extension meanings
Extensions
Type of file
.s, .asm, .uasm, .ucode
An assembly source file
.h
A C or assembly header file
.c
A C source file
.o, .obj, .eln
An Elf relocatable file
.elf, .eld
An Elf executable file
.a, .lib
A library file
.lcf
A linker command file
.d
A makefile dependency file
.map
An assembly map text file
.srx, .srec
An S-records file



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