You are on page 1of 1

.

model small // small= 2 segment 1 segment for data 1 for code


.stack 100h // stack= data structure, 100h= specific size of stack 100 high bit
.code // code= coding part
Main proc // main proc= main procedure

mov ah,02h
//02h= input character function,ah= accumuletor high bits register,mov=operation
mov dl,65 // dl= data low level register, assign ascii character 65
int 21h //int= interupt, 21h=start DOS

mov ah,4ch// 4ch= display the output


int 21h// exit DOS

Main endp
End main

You might also like