No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
.model small .data x db 20 dup(0) y db "enter the nos $" z db 0ah, 0dh, "Sum is $" .code .startup mov ah,09h lea dx,y int 21h mov si,00h mov bh,00h l: mov ah,01h int 21h cmp al,0dh je l1 sub al,30h mov x[si],al inc si inc bh jmp … | |
model small .data x db "enter a no. $" y db "factorial $" .code .startup mov ah,09h lea dx,x int 21h mov ah,01h int 21h sub al,30h mov bl,0ah mul bl mov bl,al mov ah,01h int 21h sub al,30h add al,bl mov ah,09h lea dx,y int 21h mov bl,al l: … |