Asmc Macro Assembler Reference
Asmc adds flags and size extensions to directives.
- [N]A above
- [N]B below
- [N]C carry
- [N]G greater (signed)
- [N]L less (signed)
- [N]O overflow
- [N]P parity
- [N]S signed
- [N]Z zero
The format is DIRECIVE[[flags]][[size]] with valid combination DIRECIVE[[S]][[size]], so the only valid flag with expression is S (signed). Note that the size extension only effects the return code from a function call within an expression. As the default return in 64-bit is RAX this should be sized up according to the actual returned value. The expression ( foo() == -1 ) may otherwise fail if the returned value is int (0x00000000FFFFFFFF).
- .ASSERT (extension: size)
- .BREAK
- .CASE
- .CLASS
- .CONTINUE
- .COMDEF
- .DEFAULT
- .ELSE
- .ELSEIF (extension: S, D, SD)
- .ENDC
- .ENDF
- .ENDIF
- .ENDN
- .ENDS
- .ENDSW
- .ENDW
- .ENUM
- .ENUMT
- .FOR (extension: S)
- .GOTOSW
- .IF (extension: flag and size)
- .INLINE
- .NAMESPACE
- .NEW
- .OPERATOR
- .REPEAT
- .RETURN
- .STATIC
- .SWITCH
- .TEMPLATE
- .UNTIL (extension: flag and size)
- .UNTILCXZ
- .WHILE (extension: flag and size)