summary refs log tree commit diff homepage
path: root/lib.asm
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2016-12-03 22:00:23 -0500
committerJune McEnroe <june@causal.agency>2016-12-03 22:00:23 -0500
commitdfbd0cb2428b792aaf2d65fe51c72cc8697bcb2f (patch)
tree68194a531112fea257e4d191a87d2fdc7d90ebed /lib.asm
parentUse lower case hex digits (diff)
downloadaoc-dfbd0cb2428b792aaf2d65fe51c72cc8697bcb2f.tar.gz
aoc-dfbd0cb2428b792aaf2d65fe51c72cc8697bcb2f.zip
Remove assembly code
I can't do it.
Diffstat (limited to '')
-rw-r--r--lib.asm19
1 files changed, 0 insertions, 19 deletions
diff --git a/lib.asm b/lib.asm
deleted file mode 100644
index 22bf196..0000000
--- a/lib.asm
+++ /dev/null
@@ -1,19 +0,0 @@
-section .rodata
-hexDigits: db '0123456789abcdef'
-
-section .text
-hex32:
-  push rbx
-  mov rbx, hexDigits
-  xor rax, rax
-
-%rep 8
-  shl rax, 8
-  mov al, dil
-  and al, 0x0f
-  xlatb
-  shr rdi, 4
-%endrep
-
-  pop rbx
-ret