Echelon Neuron Uživatelský manuál Strana 186

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 237
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 185
Stack Transformation: (a a?1:0)
Location: Near
Registers Affected: None
Example:
This example returns the logical value for 5.
pushs #d’5 ; (d’5)
call _log8 ; (1)
_lognot16 (Negated Logical Value, 16 Bit)
This function returns the inverse logical representation of a 16-bit value. If the
variable is non-zero, false is returned, otherwise true.
Stack Transformation: (a(2) a?0:1)
Location: Near
Registers Affected: None
Example:
This example returns the logical inverse of 5.
pushd #d’5 ; (d’5, 0)
call _lognot16 ; (0)
_lognot8 (Negated Logical Value, 8 Bit)
This function returns the inverse logical representation of a value. If the variable
is non-zero, false is returned, otherwise true.
Stack Transformation: (a a?0:1)
Location: Near
Registers Affected: None
Example:
This example returns the logical inverse of 5.
pushs #d’5 ; (d’5)
call _lognot8 ; (0)
176 System-Provided Functions
Zobrazit stránku 185
1 2 ... 181 182 183 184 185 186 187 188 189 190 191 ... 236 237

Komentáře k této Příručce

Žádné komentáře