Skip to content

Latest commit

 

History

History
20 lines (12 loc) · 577 Bytes

dot-assert.md

File metadata and controls

20 lines (12 loc) · 577 Bytes

Asmc Macro Assembler Reference

.ASSERT

.ASSERT[D|W|B] expression

.ASSERT:[handler | ON | OFF | PUSH | POP | PUSHF | POPF | CODE | ENDS]

Options

  • ON/OFF Main switch.
  • PUSH/POP Save and restore the ASMC flag. Stack level is 128.
  • PUSHF/POPF Toggles using PUSHF[D|Q] before calling handler.
  • CODE/ENDS Assemble code section if ASSERT is ON.
  • Handler The assert macro calls this routine if expression is not true. The default handler name is assert_exit.

See Also

Conditional Control Flow