invalid effektive Adressberechnung
Bitte schauen Sie sich das folgende Programm an, der Fehler ist ungültig effektive Adressberechnung und ich habe diese Zeile erwähnt. Bitte sagen Sie mir, warum die ungültige effektive Adressberechnung hier das Programm ist.
[org 0x100]
jmp start
array1: dw 10,15,20,25,30,35,40,45,50,55
array2: dw 15,10,20,35,40,30,55,50,25,45
start: mov bx,0
mov cx,0
loop: mov ax,[array2+bx]
cmp ax,[array1+cx]//here is the error invalid effective address calculation
jne NextElementOfArray1
NextElementOfArray2: add bx,2
cmp bx,20
je end
mov cx,0
jmp loop
NextElementOfArray1: add cx,2
cmp cx,20
je NextElementOfArray2
jmp loop
end: mov ax,0x4c00
int 0x21