Delta-electronics DELTA DUP-B Manual de usuario Pagina 362

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 491
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 361
Chapter 3 Creating and Editing Screens
TOASC (Convert a Hexidecimal Value Var2 to Four Single ASCII Values (4
WORDS) Starting at Var1.)
Equation
Var1 = TOASC (Var2)
Explanation
Convert Var2 (1 WORD in hexadecimal format) to the ASCII (4 WORDS) code and store
the result in Var1.
Remark
The calculation result can be stored as unsigned WORD.
Var1 and Var2 can be internal memory only.
Example
Convert $0 (1 WORD in hexadecimal format) to the ASCII (4 WORDS) code and store
the result in $10 (this is an operation of unsigned 16-bit data).
$0 = 1234H
$10 = TOASC ($0)
After executing TOASC command,
$10=0031H (ASCII 1)
$11=0032H (ASCII 2)
$12=0033H (ASCII 3)
$13=0034H (ASCII 4)
Revision May, 2010 3-341
Vista de pagina 361
1 2 ... 357 358 359 360 361 362 363 364 365 366 367 ... 490 491

Comentarios a estos manuales

Sin comentarios