[justify]programme qui affiche une chaine de caractère "eessayer d'apprendre le masm"
REMARQUE:vous pouvez changer la structure du programme en jouant sue les espaces afin d'atteindre une sequence plus compéhensible mais faite attention sans toucher les instruction
PILE SEGMMENT
P DB 100DUP(?)
PILE ENDS
data SEGMMENT
chaine DB "esseyer d'aprandre le masm$"
data ENDS
CODE SEGMMENT
DEBUT PROC FAR
ASSUME ss:pile
ASSUME ds:data
ASSUME cs:code
ASSUME
MOV CX,26
MOV DL,65
ETIQ1 MOV 2H,2
INT 21H
INC DL
LOOP ETIQ1
MOV CX,26
MOV DL,97
MOV 2H,2
ETIQ2 INT 21H
INC DL
LOOP ETIQ2
MOV CX,10
MOV DL,48
MOV 2H,2
ETIQ3 INT 21H
INC DL
LOOP ETIQ3
DEBUT ENDP
CODE ENDS
END DEBUT