Boolean values: Difference between revisions

Line 9:
* [[Logical operations]]
<br><br>
 
=={{header|360 Assembly}}==
The are no TRUE or FALSE constants in 360 Assembly; but an often used convention is :
<lang 360asm>
FALSE DC X'00'
TRUE DC X'FF'
</lang>
 
 
=={{header|8051 Assembly}}==
Line 15 ⟶ 23:
<lang asm>clr bit ; clears
setb bit ; sets</lang>
 
=={{header|8th}}==
In 8th, any non-zero number is true, as is the specific boolean value 'true'. Everything else evaluates as 'false' (including the boolean value, 'false')
1,392

edits