Answer the question
In order to leave comments, you need to log in
How to solve the problem with compiling in assembler in windows?
Good day. When compiling, when in the Assembler language I encountered a problem compiling it on windows, I use SASM ide.
%include 'stud_io.inc';
global _start ;
section.bss;
array resd 99 ;
section .text ;
_start: ;
mov ecx,99 ;
mov esi,array ;
mov eax,2;
ld: ;
mov [esi],eax ;
inc eax ;
add esi,4 ;
cmp eax, 99 ;
jl ld;
mov eax,0 ;
mov ebx,1 ;
lp: ;
mov ebx,[esi];
mul ebx;
add eax, [esi];
add esi,4;
loop lp;
Finish;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question