From 7a5832204a80ff43d23c3a384c26e2217ef5908b Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 15 Oct 2019 19:35:19 -0700 Subject: 5698 Thanks Andrew Owen for reporting this typo. --- 070new-stream.subx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to '070new-stream.subx') diff --git a/070new-stream.subx b/070new-stream.subx index c3f204d2..e1bea314 100644 --- a/070new-stream.subx +++ b/070new-stream.subx @@ -6,7 +6,7 @@ # . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes new-stream: # ad : (address allocation-descriptor), length : int, elemsize : int -> address/eax - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # . save registers @@ -44,7 +44,7 @@ new-stream: # ad : (address allocation-descriptor), length : int, elemsize : in $new-stream:end: # . restore registers 5a/pop-to-edx - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return @@ -65,7 +65,7 @@ $new-stream:abort: # never gets here test-new-stream: - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # var heap/ecx : (address allocation-descriptor) = {0, 0} @@ -110,7 +110,7 @@ test-new-stream: # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp # the rest is delegated to clear-stream() so we won't bother checking it - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return -- cgit 1.4.1-2-gfad0