diff options
Diffstat (limited to '')
-rw-r--r-- | b32e.asm | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -77,9 +77,20 @@ b32e: _start: nop + +.loop: + ; try to read 5 bytes call read_input + ; read nothing + cmp rax, 0 + je .exit + + ; convert to base 32 call b32e + ; print call write_output + jmp .loop + .exit: ; linux x64 exit(0) mov rax, 60 |