TITLE DISPLAY .MODEL SMALL .STACK 100H .DATA CHAR DB 'A' .CODE MAIN: MOV AX, @DATA MOV DS, AX AGAIN: MOV DL, CHAR MOV AH, 02H INT 21H MOV DL, 0AH MOV AH, 02H INT 21H MOV DL, 0DH MOV AH, 02H INT 21H INC CHAR CMP CHAR, 5AH JNG AGAIN EXIT: MOV AH, 04CH INT 21H END MAIN
No comments:
Post a Comment