From 502e7e752f3efdb069a36b23ab51ac22f9d74e9e Mon Sep 17 00:00:00 2001 From: Cliff Click Date: Tue, 29 Sep 2026 12:34:58 -0700 Subject: Chapter 10a: Structs and Memory --- docs/chapter10a/example1.svg | 73 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 docs/chapter10a/example1.svg (limited to 'docs/chapter10a/example1.svg') diff --git a/docs/chapter10a/example1.svg b/docs/chapter10a/example1.svg new file mode 100644 index 00000000..d1c5e3bd --- /dev/null +++ b/docs/chapter10a/example1.svg @@ -0,0 +1,73 @@ + + + + + + +Memory + + + +M0 + +Initial memory + + + +X + +Store p.x = 3 + + + +X->M0 + + + + + +Y + +Store p.y = arg + + + +Y->X + + + + + +L + +Load p.x + + + +L->Y + + + + + +Return + +Return + + + +Return->Y + + + + + +Return->L + + + + + -- cgit v1.2.3