diff doc/disas_examples/x86.plan9call.disas @ 473:ead041d93e36

- ppc doc and disas examples related to aggregates
author Tassilo Philipp
date Wed, 16 Feb 2022 16:44:11 +0100
parents e5820b7a3fbc
children
line wrap: on
line diff
--- a/doc/disas_examples/x86.plan9call.disas	Thu Feb 10 17:32:05 2022 +0100
+++ b/doc/disas_examples/x86.plan9call.disas	Wed Feb 16 16:44:11 2022 +0100
@@ -73,7 +73,7 @@
 ; void nonleaf_call(int a, int b, int c, int d, int e, struct A f, int g, int h)
 ; {
 ;     /* use some local data */
-;     char l[100] = 'L';
+;     char l[100] = { 'L' };
 ;     leaf_call(b, c, d, e, f, g, h);
 ; }
 ;
@@ -165,7 +165,7 @@
 ; void nonleaf_call(int a, int b, struct A c, struct B d, int e, int f, struct A g, struct B h, int i, int j)
 ; {
 ;     /* use some local data */
-;     char l[100] = 'L';
+;     char l[100] = { 'L' };
 ;     leaf_call(b, c, d, e, f, g, h, i, j);
 ; }
 ;
@@ -301,6 +301,8 @@
 ;     return (int)f();
 ; }
 
+
+
 ; output from plan9-4th_edition-x86 w/ 8c x.c && 8l -a x.8
 
 001020                  (2)     TEXT f1+0(SB),$0
@@ -345,6 +347,8 @@
 ;     return b.j + s.x;
 ; }
 
+
+
 ; output from plan9-4th_edition-x86 w/ 8c x.c && 8l -a x.8
 
 001020                  (5)     TEXT f0+0 (SB),$16