Directive OPTION SWITCH

Asmc Macro Assembler

Asmc Macro Assembler Reference

OPTION SWITCH

OPTION SWITCH:[ C | PASCAL | TABLE | NOTABLE | NOREGS | REGAX | NOTEST ]

The switch comes in two main types: a structured switch (Pascal) or an unstructured switch (C). The default type is unstructured.

The TABLE and NOTABLE options control the jump-table creation in the switch. The default setting is NOTABLE.

The NOREGS and REGAX options control the usage of registers in jump-table creation in the switch. The default setting is NOREGS.

The NOTEST option is short lived and skips the range-test in the jump code. The option is turned off after usage.

See Also

Directives Reference