7.6. 7.6 "Medium Level" Control Structures: JT and JF

HLA provides two special conditional jump instructions: jt (jump if true) and jf (jump if false). These instructions take the following syntax:

jt( boolean_expression  ) target_label;
jf( boolean_expression  ) target_label;

The boolean_expression is the standard HLA boolean expression allowed by if..endif and other HLA high level language statements. These instructions evaluate the boolean expression and jump to the specified label if the expression evaluates true (jt) or false (jf).

These are not real 80×86 instructions. HLA compiles them into a sequence of one or more 80×86 machine instructions that achieve the same result. In general, you should not use these two instructions in your main code; ...

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.