Professional Documents
Culture Documents
34 Toqeer Lab06ca
34 Toqeer Lab06ca
Control Instructions
.model
.stack
.data
.code
mov cx,10
mov bx,0
here:
mov dx,bx
add bx,1
add dx,48
mov ah,2
int 21h
loop here
end
output :
output :
output:
output ;
Task 5: Write an assembly language program, which output the first ten Prime numbers.
Hint: Use looping technique, to output numbers one by one in each iteration of loop.