Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 675 Bytes

opt_switch.md

File metadata and controls

15 lines (8 loc) · 675 Bytes

Asmc Macro Assembler Reference

OPTION SWITCH

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

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. R11 is used in 64-bit else [E]AX. The default setting is NOREGS for ASMC and REGAX for ASMC64.

See Also

Directives Reference | .SWITCH