summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--b32e.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/b32e.asm b/b32e.asm
index 20d7c4b..c7ef93b 100644
--- a/b32e.asm
+++ b/b32e.asm
@@ -38,7 +38,7 @@ write_output:
; b32e
; encodes 40 bits (5 bytes) to 8 RFC4648 base32 characters
-; uses reg: rbx, rdx, r11
+; uses reg: rbx, r11
; uses mem: input_buffer, output_buffer
b32e:
; set up output counter
@@ -60,8 +60,8 @@ b32e:
; convert to base32
add rbx, rfc4648
- mov dl, byte [rbx]
- mov byte [output_buffer + r11], dl
+ mov bl, byte [rbx]
+ mov byte [output_buffer + r11], bl
; increase counter
inc r11