| Electronic Components Datasheet Search |
|
AN3350 Datasheet(PDF) 54 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN3350 Datasheet(HTML) 54 Page - STMicroelectronics |
|
54 / 185 page ![]() Working with the assembler AN3350 54/185 Doc ID 018512 Rev 2 10 Working with the assembler This chapter explains the enhanced Time Processing Unit (eTPU) assembler, and shows you how to use it with assembly source code. This chapter contains these topics: ● Understanding the eTPU assembler ● Using the command-line assembler ● Assembly file layout ● Instructions and directives ● eTPU assembler preprocessor 10.1 Understanding the eTPU assembler The eTPU assembler processes assembly-language source statements written for SPC56xx family of communication microcontrollers. The assembler translates source statements into object files with a format compatible with other eTPU assembler software and hardware products. The assembler processes assembly source files by reading the contents and preprocessing each line, as described in Section 10.5: eTPU assembler preprocessor. The assembler parses each line of code (as described in Section 10.3: Assembly file layout) in order to verify correct syntax. It then encodes all recognized instructions and directives as object code in the specified output layout. 10.2 Using the command-line assembler This section shows you how to invoke the assembler from the command line, for files outside of an integrated development environment (IDE). To run the assembler command-line executable, type the full path to the executable at the Windows command prompt. Optionally, you can add the path of the eTPU tools folder to your PATH environment variable. Then you can simply enter the name of the tool, etpu_bins.exe, to run the assembler. 10.2.1 etpu_bins etpu_bins is a wrapper used for all binary utilities such as assembling and linking. ● Assembler is invoked with etpu_bins --asm inputFile ● Linker is invoked using etpu_bins --ld inputFile ● Disassembler is invoked using etpu_bins --elfdump inputFile ● Size utility is used with etpu_bins --size inputFile The remaining chapter relates to the assembler tool. The linker behaviour is described in the next chapter. A single input file is allowed. The -i (pre-include) option can be used to specify more input files. |
|
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 |