Lognot16 (negated logical value, 16 bit), Lognot8 (negated logical value, 8 bit) – Echelon Neuron User Manual
Page 186

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