
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
try: | |
CR EQU 13 | |
LF EQU 0Ah | |
DATOS SEGMENT | |
MENSAJE DB CR,LF, 'Hola mundo este programa fue compilado por mi', CR,LF,'$' | |
DATOS ENDS | |
PILA SEGMENT STACK | |
DB 64 DUP('PILA') | |
PILA ENDS | |
CODIGO SEGMENT | |
HM PROC FAR | |
ASSUME CS:CODIGO,DS:DATOS,SS:PILA | |
MOV AX,DATOS | |
MOV DS,AX | |
LEA DX,MENSAJE | |
MOV AH,9 | |
INT 21H | |
MOV AX,4C00H | |
INT 21H | |
HM ENDP | |
CODIGO ENDS | |
END HM | |