From 889ed4102102944e3dc5ba017d6b3f1376795b4e Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sun, 17 May 2020 18:36:35 -0700 Subject: mu.subx: 4/50 top-level tests passing --- apps/mu.subx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/mu.subx') 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 } -- cgit 1.4.1-2-gfad0