This commit is contained in:
Sami Samhuri 2014-02-22 12:10:41 -08:00
parent 767e97d1c4
commit 7d12f1f994

View file

@ -670,7 +670,7 @@ class Compiler
asm.block do asm.block do
# TODO check sign and prepend '-' if negative # TODO check sign and prepend '-' if negative
mov([hex], 0x7830) # "0x" ==> 48, 120 mov([hex], 0x7830) # "0x" ==> 0x30 (48), 0x78 (120)
mov([hex+4], 0) # zero the rest mov([hex+4], 0) # zero the rest
mov([hex+8], 0) mov([hex+8], 0)
mov([:byte, hex+10], 0xa) # newline mov([:byte, hex+10], 0xa) # newline