Skip to content
Snippets Groups Projects
Commit 74e890b2 authored by Hazal2.Veziroglu@live.uwe.ac.uk's avatar Hazal2.Veziroglu@live.uwe.ac.uk
Browse files

Upload New File

parent 1ffea757
No related branches found
No related tags found
No related merge requests found
section .data
num1 dd 10
num2 dd 20
result dd 0
section .text
global asm_main
extern print_int
asm_main:
mov eax, [num1]
add eax, [num2]
mov [result], eax
push eax
call print_int
add esp, 4
ret
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment