Desafios da Aula 13 #26
```asm
section .bss
buf: resb 20
section .text
global _start
_start:
mov rax, 0
mov rdi, 0
mov rsi, buf
mov rdx, 20
syscall
; 1-converter a string no buffer para inteiro (por enquanto uint64)
; 2-somar valor convertido com 42
; 3-imprimir o resultado da soma
; Em paralelo, pesquisar como limpar o buffer do terminal
mov rax, 60
xor rdi, rdi
syscall
```
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?