G
G
GuronP2017-10-25 19:46:08
Windows
GuronP, 2017-10-25 19:46:08

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;

screenshoter.ru/s/251017/kbvcy4EM - Error.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question