diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-05-17 18:36:35 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-05-18 00:44:51 -0700 |
commit | 889ed4102102944e3dc5ba017d6b3f1376795b4e (patch) | |
tree | c9e669cc8621785220f4728898bc7293bf855ba9 /apps | |
parent | 09e047b5dbc8ae20054b17b9c564c0c7cc51079f (diff) | |
download | mu-889ed4102102944e3dc5ba017d6b3f1376795b4e.tar.gz |
mu.subx: 4/50 top-level tests passing
Diffstat (limited to 'apps')
-rw-r--r-- | apps/mu.subx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/mu.subx b/apps/mu.subx index b8f055a9..d3410773 100644 --- a/apps/mu.subx +++ b/apps/mu.subx @@ -7369,12 +7369,13 @@ $populate-mu-type-offsets-in-inouts:loop: (lookup *ecx *(ecx+4)) # List-value List-value => eax 89/<- %ebx 0/r32/eax # v->offset = next-offset - 89/<- *(ebx+0xc) 2/r32/edx # Var-offset + 89/<- *(ebx+0x14) 2/r32/edx # Var-offset # next-offset += size-of(v) (size-of %ebx) # => eax 01/add-to %edx 0/r32/eax # curr = lookup(curr->next) (lookup *(ecx+8) *(ecx+0xc)) # List-next List-next => eax + 89/<- %ecx 0/r32/eax # eb/jump loop/disp8 } |