Where is there documentation on how to write inline asm?
    Adam D. Ruppe 
    destructionator at gmail.com
       
    Thu Nov 15 21:12:39 UTC 2018
    
    
  
On Thursday, 15 November 2018 at 21:07:51 UTC, pineapple wrote:
> Is there a way to access this pointer?
It is passed as.. I think the final argument to the function. 
(unless it is the first, do a quick test to find out).
> Also, the calling convention documentation there doesn't 
> mention anything about 64-bit targets, are 64-bit registers 
> just not used?
It uses the C rules there, so look up the 64 bit C abi. I think 
this is accurate 
https://msdn.microsoft.com/en-us/library/ms235286.aspx
    
    
More information about the Digitalmars-d-learn
mailing list