Mercurial > pub > dyncall > dyncall
diff doc/disas_examples/x86.fastcall_borland.disas @ 614:b74d7a249642
disas example for explicit cdecl declared thiscall
author | Tassilo Philipp |
---|---|
date | Sat, 01 Oct 2022 16:04:40 +0200 |
parents | c0390dc85a07 |
children |
line wrap: on
line diff
--- a/doc/disas_examples/x86.fastcall_borland.disas Sat Oct 01 16:03:25 2022 +0200 +++ b/doc/disas_examples/x86.fastcall_borland.disas Sat Oct 01 16:04:40 2022 +0200 @@ -5,7 +5,7 @@ ; __int32 i2; ; }; ; #pragma pack(pop) -; +; ; TTest __fastcall DoTest() ; { ; TTest t; @@ -13,13 +13,14 @@ ; t.i2 = 2; ; return t; ; } -; +; ; ... ; TTest t = DoTest(); + + ; from http://codeverge.com/embarcadero.cppbuilder.cpp/does-fastcall-have-any-bearing-on/1043767 - DoTest(): push ebp ; | mov ebp,esp ; | prolog @@ -37,5 +38,7 @@ pop ebp ; | epilog ret ; | + + ; vim: ft=asm