'NASM - Adding two numbers - no output [duplicate]
I am trying to add 2 numbers and I don't get output for this program. Please help.
section .text
global _start
_start:
mov eax, 20
mov ebx, 30
add eax, ebx
mov ecx, eax
mov eax, 4
mov ebx, 1
int 80h
mov eax, 1
mov ebx, 0
int 80h
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
