March 5, 2015

TASM (CS332 Comp ORG, ARC and ASSM Language Program) 2ndyear/Tri-3rd sem

.model small
.stack 100h
.data
message db 'This is an assembly language program.', 0DH, 0AH, '$'
.code
main proc
mov ax, @data
mov ds, ax
mov ah, 9
mov dx, offset message
int 21h
mov ax, 4C00h
int 21h
main endp
end main

No comments: