From ae05a2783765b26f66d087bc8325f4a241260fd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mar=C3=A7al=20Comajoan=20Cara?= Date: Sun, 18 Nov 2018 11:11:04 +0100 Subject: Improve SPARC Calling Overview Webpage conversion Fixed tables, typos, redrawn images and converted ASCII art to ditaa and PNG, and improved the overall format. This work was part of GCI 2018. Closes #3567. --- images/cpu_supplement/stack_frame_contents.ditaa | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 images/cpu_supplement/stack_frame_contents.ditaa (limited to 'images/cpu_supplement/stack_frame_contents.ditaa') diff --git a/images/cpu_supplement/stack_frame_contents.ditaa b/images/cpu_supplement/stack_frame_contents.ditaa new file mode 100644 index 0000000..c608d56 --- /dev/null +++ b/images/cpu_supplement/stack_frame_contents.ditaa @@ -0,0 +1,35 @@ + low addresses + + +-------------------------+ + %sp --> | 16 words for storing | + | LOCAL and IN registers | + +-------------------------+ + | one:-word pointer to | + | aggregate return value | + +-------------------------+ + | 6 words for callee | + | to store register | + | arguments | + +-------------------------+ + | outgoing parameters | + | past the 6th, if any | + +-------------------------+ + | space, if needed, for | + | compiler temporaries | + | and saved floating- | + | point registers | + +-------------------------+ + + +-------------------------+ + | space dynamically | + | allocated via the | + | alloca() library call | + +-------------------------+ + | space, if needed, for | + | automatic arrays, | + | aggregates, and | + | addressable scalar | + | automatics | + +-------------------------+ + %fp --> + high addresses -- cgit v1.2.3