Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

AN3349 Scheda tecnica(PDF) 8 Page - STMicroelectronics

Il numero della parte AN3349
Spiegazioni elettronici  eTPU assembly converter
PDF  13 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  STMICROELECTRONICS [STMicroelectronics]
Homepage  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN3349 Scheda tecnica(HTML) 8 Page - STMicroelectronics

Back Button AN3349 Datasheet HTML 4Page - STMicroelectronics AN3349 Datasheet HTML 5Page - STMicroelectronics AN3349 Datasheet HTML 6Page - STMicroelectronics AN3349 Datasheet HTML 7Page - STMicroelectronics AN3349 Datasheet HTML 8Page - STMicroelectronics AN3349 Datasheet HTML 9Page - STMicroelectronics AN3349 Datasheet HTML 10Page - STMicroelectronics AN3349 Datasheet HTML 11Page - STMicroelectronics AN3349 Datasheet HTML 12Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 8 / 13 page
background image
Converter options
AN3349
8/13
Doc ID 018511 Rev 2
3
Converter options
3.1
No warnings
When the -noWarn option is used warnings aren't reported. This option is useful when
converting many file and only the conversion errors are important. For more details about
warnings, see the Chapter 5: Limitations.
3.2
Preprocessing
When the -pp option is used the file is preprocessed before being converted. The
preprocessing is executed using the ccetpu compiler. In the preprocessing stage all the
macros are analyzed and replaced with their values. Only after preprocessing the file, its
conversion starts. This option is useful with c files that use macros in their inline assembly
sections. The converter will not recognize the macros without preprocessing the file first and
therefore the option is necessary in such cases.
Note:
Using this option will cause white space and new line modifications in the file. Spaces and
new lines might be added or removed during the preprocessing stage, and macros will be
replaced with their values, but the actual content of the file will not be modified.
When using this option, the input file is passed through the ccetpu C compiler. Therefore, it
has to follow eTPU c language rules, for example the file must end with a ".c" extension.
Example of the -pp option:
etpu_asm_converter.exe -pp -c c_input.c out.txt
3.3
Debug information
When the -debugE option is used debug information is printed in case of errors. This
information may be useful in order to find Byte Craft syntax errors. Note that this option was
created for development purposes and therefore in many cases the provided information will
probably not be clear or helpful.
This option is mostly useful in chan instruction.
For example:
etpu_asm_converter.exe -m -debugE
chan set flag2.
error in line 3: syntax error, unexpected FREE_TEXT,
expecting FLAG0 or FLAG1.
Table 3.
Preprocessing options
c_input.c
def.h
out.txt
#include "def.h"
#asm
MY_ALU c = REG_B+ VALUE.
MY_CHAN pdcm= sm_dt.
#endasm
#define MY_ALU
alu
#define REG_B
b
#define VALUE
3
#define MY_CHAN chan
#include "def.h"
asm{
addi c,b,3
chmode.sm_dt
}



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
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