Where is there documentation on how to write inline asm?
Adam D. Ruppe
destructionator at gmail.com
Thu Nov 15 21:00:10 UTC 2018
On Thursday, 15 November 2018 at 20:57:59 UTC, pineapple wrote:
> My issue is that I can't figure out how to access a function's
> arguments from within inline asm or how to ensure that the
> correct value is returned. I haven't found a single piece of
> documentation about this so far!
It would be part of the abi:
https://dlang.org/spec/abi.html#function_calling_conventions
though it references C so you might need to look that up too.
More information about the Digitalmars-d-learn
mailing list