Monday, September 22, 2008

Assembly Language Sample Program

; This is my first sample TASM program
; This program will print characters ABC on the screen

.model small
.code
.stack
org 100h

start:

mov ah, 02h
mov cl, 41h
mov dl, cl
int 21h
mov cl, 42h
mov dl, cl
int 21h
mov cl, 43h
mov dl, cl
int 21h

int 27h
end start

No comments: