Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
assembly program to incease the entered number by 1
;nasm 2.11.08 section .bss num resb 2 section .text global _start _start: mov eax,3 mov ebx,0 mov ecx,num mov edx,2 int 0x80 mov eax,[num] sub eax,'0' add eax,1 add eax,'0' mov [num],eax mov eax,4 mov ebx,1 mov ecx,num mov edx,2 int 0x80 mov eax,1 mov ebx,0 int 0x80
run
|
edit
|
history
|
help
0
dsfaddafs
Hello.asm
MPassignment1
helloworld_fixed
khvkvkhkj
dsafdfdsfds
dsdsasdsa
lec4c
studenthello
FirstProgram_Completed