GDCC
GDCC copied to clipboard
Assembly expression
Having an expression equivalent to the assembly statement would be useful where data can be passed to/from the stack in the inline assembly. Syntax would be something like:
asm-expression:
<__asm> ( type , string-literal )
<__asm> ( type , string-literal , expression-list )
Would probably be good to use a different keyword, so as to avoid grammatical ambiguity with the assembly statement.