summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.