I have to print a letter like a letter such as this one:
String DB 'ABC 0', '$' I know I can print the whole string by doing this:
Lea DX, string mov , 0h I "21" How can I just print a person's character like "A"?
you have 21 h / ah = 02 h
mov dl Byte PTR [String] mov ah, 02h int 21h Byte PTR means that you want, ok, a byte from the variable / pointer. To print the next letter, you increase the pointer: inc string
No comments:
Post a Comment