4.18. 4.18 The IN Operator in HLA HLL Boolean Expressions

The HLA IN operator combined with character sets can dramatically reduce the logic in your HLA programs. This text has waited until now to discuss this operator because certain forms require a knowledge of character sets and character set constants. Now that you've seen character set constants, there is no need to delay the introduction of this important language feature.

In addition to the standard boolean expressions in if, while, repeat..until, and other statements, HLA also supports boolean expressions that take the following forms:

reg8 in CSetConstant
reg8 not in CSetConstant
reg8 in CSetVariable
reg8 not in CSetVariable

These four forms of the in and not in operators check to see if ...

Get Art of Assembly Language, 1st Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.