diff doc/disas_examples/x86.cdecl.disas @ 471:4e84d6faed54

- "
author Tassilo Philipp
date Mon, 07 Feb 2022 23:29:24 +0100
parents 984e6652b975
children cb19b2fe2422
line wrap: on
line diff
--- a/doc/disas_examples/x86.cdecl.disas	Mon Feb 07 22:41:32 2022 +0100
+++ b/doc/disas_examples/x86.cdecl.disas	Mon Feb 07 23:29:24 2022 +0100
@@ -553,15 +553,15 @@
 ;
 ; struct A leaf_call(struct A a, short b, long long c, char d, int e, int f, int g, long long h)
 ; {
-;     a.x += 1;
-;     return a;
+; 	a.x += 1;
+; 	return a;
 ; }
 ;
 ; int main()
 ; {
-;   struct A a ={9, 99, 23, 12LL};
-;   leaf_call(a, 1, 2, 3, 4, 5, 6, 7LL);
-;   return 0;
+; 	struct A a = {9, 99, 23, 12LL};
+; 	leaf_call(a, 1, 2, 3, 4, 5, 6, 7LL);
+; 	return 0;
 ; }
 
 
@@ -622,7 +622,7 @@
         mov     eax, DWORD PTR _a$[ebp+12] ; |
         mov     DWORD PTR [ecx+12], eax    ; /
         lea     ecx, DWORD PTR $T1[ebp]    ; \ ptr to space used for struct retval (pushed as hidden first arg)
-        push    ecx                          |
+        push    ecx                        ; |
         call    _leaf_call                 ; push return address and call
         add     esp, 56                    ; |
         xor     eax, eax                   ; : return value