GDCC icon indicating copy to clipboard operation
GDCC copied to clipboard

Assembly expression

Open DavidPH opened this issue 5 years ago • 0 comments

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.

DavidPH avatar Mar 07 '19 18:03 DavidPH