Problem:
Complete the assembly language program, shown in Fig. 1 below, to find the sum of the prime numbers in the array of 10 numbers stored in memory (You can test the program with different numbers in the array).
Program Code:
[ORG 0x100]
jmp start
num: dw 19, 15, 13, 2, 21, 8, 10, 11, 14, 5
ans: dw 0
start:
end: mov ax, 0x4c00 ;terminate program 0x21 Fig 1