| Zakładka z wyszukiwarką danych komponentów |
|
45111 Arkusz danych(PDF) 51 Page - List of Unclassifed Manufacturers |
|
|
|||||||||||||||||||||||||||||
45111 Arkusz danych(HTML) 51 Page - List of Unclassifed Manufacturers |
|
51 / 184 page ![]() 7 The SASM Assembler SX-Key/Blitz Development System Manual 2.0 • Parallax, Inc. • Page 51 7.3.5 The DS Directive The DS (define space) directive increments the location pointer during assembly. This may be used to cause the assembler to arrange sequential RAM assignments (arrays). For example: ORG $08 Array DS 3 Other DS 2 defines 3 bytes, starting at location 8, for the Array symbol. Array+1 is the second element of the array and array+2 is the third element. The Other symbol’s first and second elements are placed starting with location $0B. Note that no code is generated in the example above. Instead of the DS, you may alternatively use the words RES or ZERO; they have the same meaning. 7.3.6 The DW Directive The DW (define word) directive defines 12-bit words in EEPROM. This is used to store a data table in the SX EEPROM space. For example: DW $FFF, $009, $1A0 stores the values $FFF, $009 and $1A0 into EEPROM starting at the current location. You may also use the DW directive to define a sequence of ASCII characters like in DW “hello” This creates a data table in the EEPROM containing the ASCII codes of the characters specified in the string, i.e. $068, $065, $06C, $06C, $06F. See Chapter 10.5 – Creating Tables for more information on using tables. 7.3.7 The END Directive The END directive indicates the end of the source code in a file. Any text that follows the end directive is ignored by the assembler. This feature is handy when you want to add any kind of comment text to the end of the source code file without the need to mark each line as a comment. |
|
Link URL |
| Czy Alldatasheet okazała się pomocna? [ DONATE ] |
O Alldatasheet | Reklama | Kontakt | Polityka prywatności | Link do karty katalogowej | Linki | Lista producentów 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 |