Zilog ZUSBOPTS Manual de usuario Pagina 258

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 520
  • Tabla de contenidos
  • SOLUCIÓN DE PROBLEMAS
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 257
Directives UM017105-0511
230
Zilog Developer Studio II – ZNEO™
User Manual
Examples
DL 1,2 ; Reserve 2 long words. Initialize the
; first with a 1 and last with a 2.
DL %12345678 ; Reserve space for 1 long word and
; initialize it to %12345678.
DW Declaration Type
Synonyms
.word, word, .int
Syntax
DWword data (16 bits)
Examples
DW "Hello World" ; Reserve and initialize 11 words.
DW "Hello" ; Reserve and initialize 5 words.
DW 1,2 ; Reserve 2 words. Initialize the
; first word with a 1 and the second with a 2.
DW %1234 ; Reserve 1 word and initialize it with %1234.
There is no trailing null for the DW declaration type. Each letter gets 16 bits with the upper
8 bits zero.
DW24 Declaration Type
Synonyms
.word24, .trio, .DW24
Syntax
DW24word data (24 bits)
Examples
dw24 %123456 ; Reserve one 24-bit entity and initialize it with
%123456
.trio %789abc ; Reserve one 24-bit entity and initialize it
with %798abc
Note:
Vista de pagina 257
1 2 ... 253 254 255 256 257 258 259 260 261 262 263 ... 519 520

Comentarios a estos manuales

Sin comentarios