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.gv | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 docs/chapter10a/example1.gv (limited to 'docs/chapter10a/example1.gv') diff --git a/docs/chapter10a/example1.gv b/docs/chapter10a/example1.gv new file mode 100644 index 00000000..d399b562 --- /dev/null +++ b/docs/chapter10a/example1.gv @@ -0,0 +1,10 @@ +digraph Memory { + rankdir=RL; + node [shape=box]; + M0 [label="Initial memory"]; + X [label="Store p.x = 3"]; + Y [label="Store p.y = arg"]; + L [label="Load p.x"]; + L -> Y -> X -> M0 [color=blue]; + Return -> Y [color=blue]; Return -> L; +} -- cgit v1.2.3