Delta-electronics DELTA DUP-B Manuel d'utilisateur Page 344

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 491
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 343
Chapter 3 Creating and Editing Screens
Perform the logical AND operation on $3 and $5, and save the result in $7 (this is an
operation of unsigned 32-bit data)
$7 = $3 && $5 (DW) Store the result of $7. $3 = F000F000H, $5 = 0F000F00H, then
$7 = 00000000H.
^ (Logical XOR operation)
Equation
Var1 = Var2 ^ Var3
Explanation
Perform the logical XOR operation on Var2 and Var3, and save the result of this
calculation in Var1.
Remark
The calculation result can be stored as WORD and DWORD.
Var1 can be internal memory only. Var2 and Var3 can be internal memory or
constant.
Example
Perform the logical XOR operation on $0 and $1, and save the result in $2 (this is an
operation of unsigned 16-bit data)
Revision May, 2010 3-323
Vue de la page 343
1 2 ... 339 340 341 342 343 344 345 346 347 348 349 ... 490 491

Commentaires sur ces manuels

Pas de commentaire