I wonder why this procedure does not print:
print:
push ax
push bx
push dx
mov ah, 02h
ciclo:
mov al, [si]
int 21h
inc si
loop ciclo
pop dx
pop bx
pop ax
ret
According to here, calling INT 21h
while AH
is 2, prints on stdout the ASCII code contained in AL
. While debugging I found nothing...