FACTORIAL
.model small
.data
loc db 05h
.code
start: movbx,@data
mov ds,bx
mov al,loc
c1: dec loc
mul loc
mov dl,loc
cmp dl,01
jnz c1
int 03h
end
OUTPUT:






0 comments:
Post a Comment