diff options
Diffstat (limited to '304screen.subx')
-rw-r--r-- | 304screen.subx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/304screen.subx b/304screen.subx index 8ec33fd5..c961492f 100644 --- a/304screen.subx +++ b/304screen.subx @@ -236,6 +236,19 @@ $print-int32-hex-to-real-screen:end: 5d/pop-to-ebp c3/return +print-int32-hex-bits-to-real-screen: # n: int, bits: int + # . prologue + 55/push-ebp + 89/<- %ebp 4/r32/esp + # + (write-int32-hex-bits-buffered Stdout *(ebp+8) *(ebp+0xc) *(ebp+0x10)) + (flush Stdout) +$print-int32-hex-bits-to-real-screen:end: + # . epilogue + 89/<- %esp 5/r32/ebp + 5d/pop-to-ebp + c3/return + print-int32-decimal-to-real-screen: # n: int # . prologue 55/push-ebp |