Ciro
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;
bucle_externo:
Mov cx, 18;
mov ax, [Array2 + bx];
bucle_interior: Cmp ax, [Array1 + bx];
jne Element_is_not_Equal;
Element_is_not_Equal:
Agregar bx, 2;
cmp bx, 18;
jne inner_loop;
sub cx, 2;
cmp cx, 0;
jne bucle_externo;
mov ax, 0x4c00;
int 0x21