dot-endc.md

June 3, 2026 ยท View on GitHub

Asmc Macro Assembler Reference

.ENDC

.ENDC [[ ( level ) ]] [[ .IF ( expression ) ]]

.ENDC is a directive that marks the end of a .CASE statement. It is used to indicate that the current case block has ended and control should be transferred to the end of the .SWITCH statement.

level is an optional parameter that specifies the level of nesting for the switch statement. If not specified, it defaults to 0, indicating that it ends the current case block.

See Also

Conditional Control Flow