diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-15 19:35:19 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-15 19:35:19 -0700 |
commit | 7a5832204a80ff43d23c3a384c26e2217ef5908b (patch) | |
tree | 5d3dce95369bf30b84735afd6e21bf1a43db16b7 /066print-int.subx | |
parent | 6a51218e12ce75e51301b834e1c48e86aefedc1e (diff) | |
download | mu-7a5832204a80ff43d23c3a384c26e2217ef5908b.tar.gz |
5698
Thanks Andrew Owen for reporting this typo.
Diffstat (limited to '066print-int.subx')
-rw-r--r-- | 066print-int.subx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/066print-int.subx b/066print-int.subx index e4416557..6c7a55fd 100644 --- a/066print-int.subx +++ b/066print-int.subx @@ -18,7 +18,7 @@ $to-hex-char:else: c3/return append-byte-hex: # f : (address stream), n : int -> <void> - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # . save registers @@ -53,7 +53,7 @@ append-byte-hex: # f : (address stream), n : int -> <void> $append-byte-hex:end: # . restore registers 58/pop-to-eax - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return @@ -90,7 +90,7 @@ test-append-byte-hex: # print the hex representation for the lowest byte of a number print-byte-buffered: # f : (address buffered-file), n : int -> <void> - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # . save registers @@ -125,7 +125,7 @@ print-byte-buffered: # f : (address buffered-file), n : int -> <void> $print-byte-buffered:end: # . restore registers 58/pop-to-eax - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return @@ -187,7 +187,7 @@ print-int32: # f : (address stream), n : int -> <void> # append-byte(f, AL) # ecx -= 4 # - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # . save registers @@ -229,7 +229,7 @@ $print-int32:end: # . restore registers 59/pop-to-ecx 58/pop-to-eax - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return @@ -275,7 +275,7 @@ print-int32-buffered: # f : (address buffered-file), n : int -> <void> # write-byte-buffered(f, AL) # ecx -= 4 # - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # . save registers @@ -317,7 +317,7 @@ $print-int32-buffered:end: # . restore registers 59/pop-to-ecx 58/pop-to-eax - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return |