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 /062write-stream.subx | |
parent | 6a51218e12ce75e51301b834e1c48e86aefedc1e (diff) | |
download | mu-7a5832204a80ff43d23c3a384c26e2217ef5908b.tar.gz |
5698
Thanks Andrew Owen for reporting this typo.
Diffstat (limited to '062write-stream.subx')
-rw-r--r-- | 062write-stream.subx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/062write-stream.subx b/062write-stream.subx index d6b9af8c..a85cf40c 100644 --- a/062write-stream.subx +++ b/062write-stream.subx @@ -16,7 +16,7 @@ #? cd/syscall 0x80/imm8 write-stream: # f : fd or (address stream), s : (address stream) -> <void> - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # if (f < 0x08000000) _write-stream(f, s), return # f can't be a user-mode address, so treat it as a kernel file descriptor @@ -70,13 +70,13 @@ $write-stream:fake: 5e/pop-to-esi 58/pop-to-eax $write-stream:end: - # . epilog + # . epilogue 89/copy 3/mod/direct 4/rm32/esp . . . 5/r32/ebp . . # copy ebp to esp 5d/pop-to-ebp c3/return _write-stream: # fd : int, s : (address stream) -> <void> - # . prolog + # . prologue 55/push-ebp 89/copy 3/mod/direct 5/rm32/ebp . . . 4/r32/esp . . # copy esp to ebp # . save registers @@ -114,7 +114,7 @@ _write-stream: # fd : int, s : (address stream) -> <void> 5a/pop-to-edx 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 |