28 lines
502 B
Text
28 lines
502 B
Text
.model small
|
|
.stack 1024
|
|
.data
|
|
.code
|
|
start:
|
|
|
|
mov ax,@data
|
|
mov ds,ax
|
|
|
|
mov ax,@code
|
|
mov es,ax
|
|
|
|
|
|
cld ;String functions are set to auto-increment
|
|
|
|
mov ax,13h ;select 320x200 VGA
|
|
int 10h
|
|
|
|
mov ah,0Eh
|
|
mov al,'A' ;select char to print
|
|
mov bx,11 ;select color to print it in
|
|
int 10h
|
|
|
|
|
|
ExitDOS:
|
|
mov ax,4C00h ;return to dos
|
|
int 21h
|
|
end start
|