need help writing program in debug.exe

hi, anyone know how to Write an assembly language program in debug.exe that takes the keyboard input (assuming only number) and prints its factorial on the screen.

here is the code that i wrote it so far..

13C8:0100 mov ah,01
13C8:0102 int 21
13C8:0104 cmp al,0d
13C8:0106 jnz 0100
13C8:0108 mov ah,02
13C8:010A mov dl,al
13C8:010C int 21
13C8:010E int 20
CX 0000
Writing 00010 bytes
Program terminated normally
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!