INT 21h does not print

后端 未结 1 1306
[愿得一人]
[愿得一人] 2021-01-27 08:23

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         


        
相关标签:
1条回答
  • 2021-01-27 08:57

    It will print the character in DL (see this reference).

    For example, if DL contains the decimal value 65, it will print the character A (since 65 is the ASCII code for 'A')

    0 讨论(0)
提交回复
热议问题