mirror of
https://github.com/Noratrieb/asm-coreutils.git
synced 2026-01-14 17:55:03 +01:00
wc char counter
This commit is contained in:
parent
ad531e2811
commit
44bd2b4102
1 changed files with 3 additions and 0 deletions
|
|
@ -22,6 +22,9 @@ process:
|
|||
|
||||
add r13, rax
|
||||
|
||||
cmp rax, 0
|
||||
jnz process
|
||||
|
||||
count_and_print:
|
||||
mov rax, r13
|
||||
call println_num
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue