miércoles, 25 de abril de 2018

macro tarea

imprime macro msg       ; Declaracion de la macro
    mov ah,09h          ;mensaje e la patalla
    mov dx,offset msg
    int 21h             ;parametros
ENDM                    ;Indica fin del macro

.model small
.stack 20h
.data

    msg Db ,13,10,' Buenas Tardes',13,10,'$'
.code
    inicio:
        mov ax,@data
        mov ds,ax
     
        imprime msg
     
        mov ah,08h
        int 21h
     
        mov ax,4c00h
        int 21h
     
    end inicio   
 
 
     

No hay comentarios.:

Publicar un comentario