diff options
author | June McEnroe <programble@gmail.com> | 2016-12-03 21:57:58 -0500 |
---|---|---|
committer | June McEnroe <programble@gmail.com> | 2016-12-03 21:57:58 -0500 |
commit | c70467ccef3ebe2bb820c4e59bb675f9d2356f3a (patch) | |
tree | cdcf28f002cfc1079734e0fc8efd52695634e7e2 /lib.asm | |
parent | Remove unused sys constants (diff) | |
download | aoc-c70467ccef3ebe2bb820c4e59bb675f9d2356f3a.tar.gz aoc-c70467ccef3ebe2bb820c4e59bb675f9d2356f3a.zip |
Use lower case hex digits
Diffstat (limited to '')
-rw-r--r-- | lib.asm | 4 |
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 |