diff doc/disas_examples/x86.fastcall_ms.disas @ 470:79e76734bb5c

"
author Tassilo Philipp
date Mon, 07 Feb 2022 22:41:32 +0100
parents 984e6652b975
children 585dcb68f55d
line wrap: on
line diff
--- a/doc/disas_examples/x86.fastcall_ms.disas	Mon Feb 07 13:15:49 2022 +0100
+++ b/doc/disas_examples/x86.fastcall_ms.disas	Mon Feb 07 22:41:32 2022 +0100
@@ -88,7 +88,7 @@
 
 
 
-; ---------- structs by value, struct in first call on reg arg boundary ---------->
+; ---------- structs by value (arg and return value), struct arg not fitting in regs ---------->
 ;
 ; struct A { int x; short y; char z; long long t; };
 ;
@@ -154,7 +154,7 @@
         mov     BYTE PTR _a$[ebp+6], 23    ; |                               char z
         mov     DWORD PTR _a$[ebp+8], 12   ; |                               |
         mov     DWORD PTR _a$[ebp+12], 0   ; /                               | long long t
-        push    0                          ; |
+        push    0                          ; \
         push    7                          ; | arg 7
         push    6                          ; arg 6
         push    5                          ; arg 5