diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-11-14 17:25:47 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-11-14 17:25:47 -0800 |
commit | a0cc00c0b6d4c718a9cc4e383e952794c2d61898 (patch) | |
tree | 14ea61d9cc830b6753c1feac79376df495eb43e9 /apps | |
parent | 75d5b73cfc2423f4208640ce1a1f839a1b1ccf80 (diff) | |
download | mu-a0cc00c0b6d4c718a9cc4e383e952794c2d61898.tar.gz |
5742
No, let's represent register as just a string to save a translation.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mu.subx | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index 78a4120f..60dc81dc 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -134,14 +134,12 @@ # type: s-expression? Just a type id for now. # block: int # stack-offset: int (added to ebp) -# register-index: int -# 0-7 with usual meanings -# 8: any register +# register: string +# either usual register names +# or '*' to indicate any register # At most one of stack-offset or register-index must be non-zero. -# When both are zero the variable is in eax (no way to refer to return -# address at ebp). -# A register-index of 8 designates a variable _template_. Only legal in -# formal parameters for primitives. +# A register of '*' designates a variable _template_. Only legal in formal +# parameters for primitives. # == Compiling a single instruction # Determine the function or primitive being called. |