| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 55 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 55 Page - STMicroelectronics |
|
55 / 185 page ![]() 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 |
|
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 |
| 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 |