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

  • 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 345
Chapter 3 Creating and Editing Screens
$1 = NOT $0 Store the result of $1. $0 = F100H, $1 = 0EFFH.
Perform the logical NOT operation on $2, and save the result in $4 (this is an
operation of signed 32-bit data).
$4 = NOT $2 (Signed DW) Store the result of $4. $2 = F100 F100H, $4 = 0EFF 0EFFH.
<< (SHL, Logical Shift-left operation)
Equation
Var1 = Var2 << Var3
Explanation
Shift Var2 (WORD/DWORD) data to left (number of bit is Var3). The result of this
calculation is stored 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
$0 = F100H
Shift-left 4 bits and becomes $1 = 1000H (this is an operation of unsigned 16-bit
data).
Revision May, 2010 3-325
Vue de la page 345
1 2 ... 341 342 343 344 345 346 347 348 349 350 351 ... 490 491

Commentaires sur ces manuels

Pas de commentaire