Print character in assembly language



Program to print a character in assembly language is given below.
Write character to standard output. DL = character to write, after
execution AL = DL.

TITLE Print character in assembly language

.model small
.stack

.code
mov dl,'A';
mov ah,02h;
int 21h;

mov ah,4ch;
int 21h;

end

No comments:

Post a Comment