
Arch_formula
By:
t1nman on
May 2nd, 2012 | syntax:
ASM (NASM) | size: 0.34 KB | hits: 51 | expires: Never
extern ExitProcess
%include "io.inc"
section .data
x dd 1
y dd 2
z dd 1
section .text use32
..start:
mov eax, [x]
add eax, [y]
push eax
mov eax, [x]
imul dword [y]
mov ebx, eax
pop eax
sub eax, ebx
mov ebx, [z]
xor edx, edx
idiv ebx
push eax
call outi
push dword 0
call ExitProcess