| Electronic Components Datasheet Search |
|
UM0144 Datasheet(PDF) 23 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 Datasheet(HTML) 23 Page - STMicroelectronics |
|
23 / 92 page ![]() ST7 Assembler Linker 3 ST7 Assembler UM0144 23/92 In the preceding example, FILE1 and FILE2 are two separate modules belonging to the same program. FILE1 introduces two classes: 'RAM0' and 'eprom'. The class-names may be any names you choose up to 30 characters. The first time a class is used—introduced—you have to declare the default alignment, the start and the end addresses of the class, and of course, the name of the class. Users generally specify a new class for each 'area' of their target system. In the examples above, the user has one class for the 128 bytes of on-chip RAM from 0080 to 00FF ('RAM0') and another for the 'eprom'. The code is stored from E000 to FFFF ('eprom'). You have to supply all this information the very first time you use a new class, otherwise only the class-name is necessary, as in FILE2. 3.4.1 Parameters The following paragraphs describe each argument in detail. Name The <name> argument is optional; it can contain a name of up to 12 characters. If it does, then all segments with the same name are grouped together within their class, in the order that new names are defined. Align The <align> argument defines the threshold on which each segment must start. The default is the alignment specified at the introduction of the class (if none is specified in the class introduction then para alignment is assumed), although the alignment types described in Table 8 are allowed to be specified overriding the default. FILE2: st7/ segment ‘RAM0’ serialtemp ds.b serialcou ds.b WORDS segment ‘eprom’ serial_in ld A,#0 end |
|
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 |