here's the code i used in MSAM32 ide
.386
.model flat,stdcall
option casemap:none
include \masm32\include\windows.inc
include \masm32\include\kernel32.inc
include \masm32\include\user32.inc
includelib \masm32\lib\kernel32.lib
includelib \masm32\lib\user32.lib
.data
a db 02h,02h,02h,02h,02h,02h,02h,02h,02h,02h
.code
start: mov ax,@data
mov ds,axa
mov cl,10
lea si,a
mov ax,0000h
again: add al,[si]
inc si
dec cl
jnz again
mov cl,0ah
div cl
mov ah,4ch
int 21h
end start
.end
whenever i click on assemble and link on ide i get error s
line 26:error A2155:cannot use 16-bit register with a 32-bit address
line 16:error A2004:symbol type conflict