diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-31 00:12:37 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-31 00:12:37 -0700 |
commit | dfb4a6f9ce1f53db6e90c0276ad92bfe076b25e4 (patch) | |
tree | ff616f4997adf9895f0b66cd89bbf8b00036da64 /069allocate.subx | |
parent | 9bc58ed8029d4889ed4a360926a61cf818334535 (diff) | |
download | mu-dfb4a6f9ce1f53db6e90c0276ad92bfe076b25e4.tar.gz |
6178
Diffstat (limited to '069allocate.subx')
-rw-r--r-- | 069allocate.subx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |