Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- readStr:
- mov ah, 00h ;coloca o caractere lido do teclado no registrador al
- int 16h
- cmp al, 0dh ;enter?
- je .done
- call printChar
- stosb
- jmp readStr
- .done:
- mov al, 0
- stosb
- call newLine
- ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement