Program to Calculate the Sum of Ten Numbers in Assembly Language
Program to Calculate the Sum of Ten Numbers in Assembly Language
Code
[org 0x100]
mov ax,0
mov bx,0
l1:
add ax,[num1+bx] ;Addition will be stored in ax and in num1 array wise iteration will take place
add bx,2
cmp bx,20
jne l1
mov [total],ax
mov a...
laiba.hashnode.dev2 min read