I have the following assembly program which displays the letter 'z' and then exits:
mov dl, 'z'
mov ah, 2h
int 21h
mov ah, 4Ch
int 21h
I assembled it with NASM and the resulting file only contains those instructions. (10 bytes) I put 1000 calls to this program in a batch file, and then 1000 calls to
echo z
and the echos run about 10x faster. Does anyone know what would be causing this program to run so slowly? Thanks in advance.