summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-12-03 21:57:58 -0500
committerJune McEnroe <june@causal.agency>2016-12-03 21:57:58 -0500
commitbf1cd2d97a8187e4158c99c6fc4cecf5d970da04 (patch)
treecdcf28f002cfc1079734e0fc8efd52695634e7e2
parentRemove unused sys constants (diff)
downloadaoc-bf1cd2d97a8187e4158c99c6fc4cecf5d970da04.tar.gz
aoc-bf1cd2d97a8187e4158c99c6fc4cecf5d970da04.zip
Use lower case hex digits
-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