Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

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

Back Button AN3350 Datasheet HTML 57Page - STMicroelectronics AN3350 Datasheet HTML 58Page - STMicroelectronics AN3350 Datasheet HTML 59Page - STMicroelectronics AN3350 Datasheet HTML 60Page - STMicroelectronics AN3350 Datasheet HTML 61Page - STMicroelectronics AN3350 Datasheet HTML 62Page - STMicroelectronics AN3350 Datasheet HTML 63Page - STMicroelectronics AN3350 Datasheet HTML 64Page - STMicroelectronics AN3350 Datasheet HTML 65Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 61 / 185 page
background image
AN3350
Working with the assembler
Doc ID 018512 Rev 2
61/185
As described in the eTPU Assembler Manual, the elements you can use in operands are:
●
Section 10.3.4: Registers
●
Section 10.3.5: Integer immediate values
Note:
Exact operand format and usage depend on the related instruction.
10.3.4
Registers
Register names appears in the eTPU assembler manual and are considered reserved
names, which means that these names cannot be used as identifier names for labels or
symbols.
Some instructions also mention bit names. Bit values are written as a register and bit
combination (i.e. register[bitNumber]), or better, when given a specific name in the eTPU
Assembler Manual, as a lowercase symbol. To determine exact use, consult the
instruction’s description.
10.3.5
Integer immediate values
Use immediate integer values (in decimal, hexadecimal or binary notation) to describe
absolute and relative addresses and constants that are part of numeric calculations.
In most cases, you can replace an integer constant with a constant arithmetic expression,
using a combination of these operators: +, -, <<, >>, *, /, &, &&, |, ||, !, ~, ==, !=, <, <=,
>
, >=, and parentheses. Priority and interpretation follows the C language standard. The
assembler stores and manipulates integer constants by using 32-bit signed arithmetic.
10.3.6
Symbols
Symbols are placeholders for integer constants. You can use symbols wherever a single
integer constant is required. Symbol names cannot contain spaces and can consist of
alpha-numeric characters, the underscore character (_), and the decimal character (.).
Symbol names can be up to 128 characters long.
Some symbol names are reserved for special purposes. Currently these include all names
beginning or ending with the underscore character (_) or decimal character (.), as well as
all registers and bit names.
Declare and define symbols to assign them value, scope, size and other attributes.
10.3.7
Defining a symbol
You can assign values to symbols in two ways:
●
Create a label — the value is the offset of the defined label, relative to the beginning of
the section in which the label definition appears
●
Use the ‘.equ symbol, value’ or '.label symbol, value' directives — the
value is explicitly specified in the definition
10.3.8
Scope
A symbol's scope is either local or global. Symbols not otherwise declared are local,
meaning they are defined and used only within the file in which they appear. To use a
symbol outside the file in which it is defined, you must use the .global symbol directive
to declare that symbol as global so it will be visible to code in other files. To allow code in



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