From dfb4a6f9ce1f53db6e90c0276ad92bfe076b25e4 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 31 Mar 2020 00:12:37 -0700 Subject: 6178 --- 069allocate.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '069allocate.subx') diff --git a/069allocate.subx b/069allocate.subx index 503d151f..6332a73a 100644 --- a/069allocate.subx +++ b/069allocate.subx @@ -244,7 +244,7 @@ allocate-array: # ad: (addr allocation-descriptor), n: int -> result/eax: (addr 51/push-ecx 52/push-edx # ecx = n - 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 1/r32/ecx 0xc/disp8 . # copy *(ebp+0xc) to ecx + 8b/copy 1/mod/*+disp8 5/rm32/ebp . . . 1/r32/ecx 0xc/disp8 . # copy *(ebp+12) to ecx # var size/edx: int = n+4 8d/copy-address 1/mod/*+disp8 1/rm32/ecx . . . 2/r32/edx 4/disp8 . # copy ecx+4 to edx # result = allocate(ad, size) -- cgit 1.4.1-2-gfad0