Cyrus
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
mov bx, 0;
äußere_Schleife:
Mov cx,18;
mov ax, [Array2+bx];
inner_loop: Cmp ax, [Array1+bx];
jne Element_ist_not_Equal;
Element_is_not_Equal:
Addiere bx, 2;
cmp bx,18;
jne inner_loop;
Untercx, 2;
cmp cx,0;
jne äußere_Schleife;
mov-Axt, 0x4c00;
int 0x21