summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <programble@gmail.com>2016-12-03 21:57:58 -0500
committerJune McEnroe <programble@gmail.com>2016-12-03 21:57:58 -0500
commitc70467ccef3ebe2bb820c4e59bb675f9d2356f3a (patch)
treecdcf28f002cfc1079734e0fc8efd52695634e7e2
parentRemove unused sys constants (diff)
downloadaoc-c70467ccef3ebe2bb820c4e59bb675f9d2356f3a.tar.gz
aoc-c70467ccef3ebe2bb820c4e59bb675f9d2356f3a.zip
Use lower case hex digits
Diffstat (limited to '')
-rw-r--r--lib.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib.asm b/lib.asm
index 10d0e1c..22bf196 100644
--- a/lib.asm
+++ b/lib.asm
@@ -1,5 +1,5 @@
 section .rodata
-hexDigits: db '0123456789ABCDEF'
+hexDigits: db '0123456789abcdef'
 
 section .text
 hex32:
@@ -10,7 +10,7 @@ hex32:
 %rep 8
   shl rax, 8
   mov al, dil
-  and al, 0x0F
+  and al, 0x0f
   xlatb
   shr rdi, 4
 %endrep