summaryrefslogtreecommitdiffstats
path: root/research
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-02-10 00:10:21 (EST)
committer P. J. McDermott <pj@pehjota.net>2017-02-10 00:14:59 (EST)
commitaf012d801c496938c1c0451685fea7f688959031 (patch)
tree618866dcd056a2f3a521a4db2f0200645354c5b3 /research
parent9c656295474ab6628a48ca94ca5ae16ddf524a5b (diff)
downloadeggshell-af012d801c496938c1c0451685fea7f688959031.zip
eggshell-af012d801c496938c1c0451685fea7f688959031.tar.gz
eggshell-af012d801c496938c1c0451685fea7f688959031.tar.bz2
research/registers.txt: New file
Diffstat (limited to 'research')
-rw-r--r--research/registers.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/research/registers.txt b/research/registers.txt
new file mode 100644
index 0000000..a4e686f
--- /dev/null
+++ b/research/registers.txt
@@ -0,0 +1,21 @@
+Registers
+=========
+
+MR: Malloc Register
+-------------------
+
+Name: `__mr`
+
+AR: Array Register
+------------------
+
+Names: `__ar0`, `__ar1`, ..., `__arN`
+
+Allocated at compile time when translating array operators.
+
+RR: Return Register
+-------------------
+
+Names: `__rr0`, `__rr1`, ..., `__rrN`
+
+Allocated at run time when translating subshell-less string returns.