Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

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

Back Button 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 AN3350 Datasheet HTML 66Page - STMicroelectronics AN3350 Datasheet HTML 67Page - STMicroelectronics AN3350 Datasheet HTML 68Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 64 / 185 page
background image
Working with the assembler
AN3350
64/185
Doc ID 018512 Rev 2
In general, code and data statements are stored in the memory sequentially, following their
order in the text. At any given moment, the storing address is termed the current location
(see Section 10.4.4: The current location) and is relative to the beginning of the current
section within which the next statement (code or data) will be stored. The current location
can be changed as shown in Table 6.
Note:
The .align directive will align the current location with respect to the base of the current
compilation unit only. If the object is linked with other objects, effective alignment will depend
on the linker’s configuration.
Table 6.
Data storage directives
Directive
Action
.section sec
Associates the following code and data with section sec.
See Section 10.4.1: Memory spaces and sections for more information.
.org address
Store the following code and data at the resolved address. This
statement begins a new section.
.previous
Revert to the previous section (allows you to toggle between .section
and .org sections).
.endsec
End the current section and returns to the previous section on the stack.
.word integer
Starting at the current location, stores the numeric word integer (in big
endian).
The word’s default size is the current section’s natural word width (in
bytes), but can be explicitly stated using the .b1, .b2, and .b4 attributes.
The storage location is aligned according to word size by default. You
can use the attribute .n to skip alignment.
.leb 128
Store a 32-bit integer in LEB128 format (for use in DWARF objects, for
instance).
Size can vary from one to four bytes. Use attributes .s and .u to store
signed and unsigned integers (the default is unsigned).
.hexa string
Starting at the current location, stores the hexadecimal bytes string.
For example, .hexa “65FF” stores two bytes: 101, and 255.
.ascii string
Starting at the current location, stores the ASCII bytes in string.
.asciz string
Starting at the current location, stores the ASCII bytes in string, and
append a zero byte to the end.
.skip integer
Increment the current location integer bytes.
The number of bytes incremented is integer times the current section’s
natural word width (in bytes). You can explicitly specify the number of
bytes by using the .b1, .b2, and .b4 attributes. Skipped bytes are filled
with zero in the data space, and with 0xFF in the code space.
.align integer
Advance the current location (with padding) as required to be aligned on
a word address boundary set by 2^integer (where integer has a range of
1 through 16). You can use the .b1, .b2, and .b4 attributes to specify
other word sizes



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