Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Get number form input and print it
section .data msg db 'Input a number: ' len equ $ - msg section .bss num db 1 section .text global _start _start: ; print message for input mov eax, 4 mov ebx, 1 mov ecx, msg mov edx, len int 80h ; get a number mov eax, 3 mov ebx, 0 mov ecx, num mov edx, 1 int 80h ; print a number mov eax, 4 mov ebx, 1 mov ecx, num mov edx, 1 int 80h ; exit mov eax, 1 mov ebx, 0 int 80h
run
|
edit
|
history
|
help
0
fdsfdsfdfs
sub
countingnumbers
BranchesLab_mSmith_bBrownV1
dsfdsffdafdssd
dfdfdfsff
FirstProject
dsfdfasdsfd
1234
sdffdsafdsfsda