I have a problem with my assembler language program using mmx. This program declares 3 arrays, and then adds two to each other and stores the result in 3. What went wrong?
%define ITERATIO 16
org 100h
start:
movq mm0, [tab1]
paddb mm0, [tab2]
movq [tab3], mm0
mov cx, ITERATIO
mov ah, 2
loop1:
mov si, tab3
add si, ITERATIO
sub si, cx
mov dx, [si]
int 21h
loop loop1
mov ax, 4C00h
int 21h
tab1 times ITERATIO db 41
tab2 times ITERATIO db 28
tab3 times ITERATIO db 65