Walter: D asm syntax not consistent nor calling convention with C++

Adam Sansier via Digitalmars-d digitalmars-d at puremagic.com
Sat Jul 16 23:12:48 PDT 2016


> 2. C++ defaults to dword ptr, D to word ptr. Copying and 
> pasting the code results in hard to find bugs.

It would seem to me that that D should default to the pointer 
size for indirect accessing when pushing and popping.

push [3]

should push a size of void*.sizeof.



More information about the Digitalmars-d mailing list