You are on page 1of 1

code segment

assume cs:code; ds:code


org 100h

begin:
mov ax,0600h ; AH=06 (scroll), AL=00 (fullscree)
mov bh,1EH ; 1 (Black Background), 7 (white text color)
mov cx,0000H ; CH=00 (row), CL=00 (column)
mov dx,184fh ; DH=18h (row), DL=4F (column)
int 10h ; call interrupt service

mov ah,02h ; request char display


mov bh,00h ; page 0
mov dh,0ch ; row = 12D
mov dl,28h ; column = 40D
int 10h

mov ah,02h ;display the char


mov dl,178 ;X
int 21h
mov dl,0
int 21h
mov dl,178
int 21h

mov ax,4c00h ; INT 20H


int 21h

code ends
end begin

You might also like