diff options
author | Nao Pross <naopross@thearcway.org> | 2018-11-28 22:59:20 +0100 |
---|---|---|
committer | Nao Pross <naopross@thearcway.org> | 2018-11-29 00:16:27 +0100 |
commit | 448d48de2715455ef47111d14b661a03efaec11a (patch) | |
tree | 2c5a25adad305508a8d3881c4aca406f1986bd07 | |
parent | Correct write syscall argument (diff) | |
download | base32asm-448d48de2715455ef47111d14b661a03efaec11a.tar.gz base32asm-448d48de2715455ef47111d14b661a03efaec11a.zip |
Update b32e to not use rdx
Diffstat (limited to '')
-rw-r--r-- | b32e.asm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |