| Motore di ricerca datesheet componenti elettronici |
|
UM0144 Scheda tecnica(PDF) 53 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM0144 Scheda tecnica(HTML) 53 Page - STMicroelectronics |
|
53 / 92 page ![]() ST7 Assembler Linker UM0144 53/92 A.12 DS.B Purpose: Define byte space in object code. Format: DS.B [optional number of bytes] Description: This directive is used to 'space out' label definitions. For example let's say we need a set of byte-sized temporary storage locations to be defined in RAM, starting at address $4000. We could write: segment byte at 4000 'RAM' temp1 equ $4000 temp2 equ $4001 which would work fine, however, we recommend you to write: segment byte at 4000 'RAM' temp1 DS.B temp2 DS.B which does the same job. The advantage is that the PC increments automatically. There are two other types of DS instructions available for doing WORD and LONG length storage areas: DS.W and DS.L. Note that the areas in question are not initial- ized to any value; it's merely a way of allocating values to labels. The optional argument specifies how many bytes to allocate; the default is 1. Because no code is generated to fill the space, you are not allowed to use DS.B in segments containing code, only for segments with data definitions. Example: See Also: DS.W, DS.L labl DS.B |
|
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 |
| 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 |