From eb40c70e267b83c3d70a85493ad0be306857f846 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 29 May 2020 16:41:51 -0700 Subject: 6440 Minor reordering; the hacky flush-stdout is now only needed if we ever call print-int32-to-screen. --- 103screen.subx | 12 ++++++------ apps/mu | Bin 256188 -> 256201 bytes 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/103screen.subx b/103screen.subx index 2c8f733f..28437259 100644 --- a/103screen.subx +++ b/103screen.subx @@ -154,26 +154,26 @@ $print-byte:end: c3/return # just because Mu has no support for global variables yet -flush-stdout: +print-int32-to-screen: # n: int # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # - (flush Stdout) -$flush-stdout:end: + (print-int32-buffered Stdout *(ebp+8)) +$print-int32-to-screen:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp c3/return # just because Mu has no support for global variables yet -print-int32-to-screen: # n: int +flush-stdout: # . prologue 55/push-ebp 89/<- %ebp 4/r32/esp # - (print-int32-buffered Stdout *(ebp+8)) -$print-int32-to-screen:end: + (flush Stdout) +$flush-stdout:end: # . epilogue 89/<- %esp 5/r32/ebp 5d/pop-to-ebp diff --git a/apps/mu b/apps/mu index ff284682..c3ae1294 100755 Binary files a/apps/mu and b/apps/mu differ -- cgit 1.4.1-2-gfad0