section .data
msg: db "0123456789"
section .text
global _start
_start:
xor ebx, ebx
call loop
loop:
mov rax, 1
mov rdi, 1
lea rsi, [msg + ebx]
mov rdx, 1
syscall
inc ebx
cmp ebx, 0xA
jle loop
ret
To embed this project on your website, copy the following code and paste it into your website's HTML: