I have a problem with assembly task.
Write a program that will write the numbers 7-15 in the data segment, starting from offset 200h, and then using a loop and compare them to read data from memory and the DX will insert the sum of numbers divisible by four
Here is my code, and isn't work. I'm begginer in assembly language. Could someone help me .Please
mov ax,data mov ds,ax mov cl,07d mov ch,015d mov [bx],200h ciklus: mov [bx] ,cl inc cl inc bx cmp cl,ch jne ciklus ciklus1: mov cl,[bx] AND ax, 3h add dx, ax inc cl inc bx else jmp ciklus1 end if