Mzsmunna
10/16/2019 - 9:08 AM

mzscode


.MODEL SMALL
.STACK 100H
.CODE
MAIN PROC
    
    MOV AH,1
    INT 21H
    MOV BL,AL 
    ;MOV DL,BL
    INT 21H
    MOV BH,AL
    ;MOV DH,BL                  
    INT 21H
    MOV CL,AL
    
    
    MOV AH,2
    MOV DL,0DH
    INT 21H
    MOV DL,0AH
    INT 21H
    
    
    MOV AH,2
    MOV DL,BL
    INT 21H 
    
    
    MOV AH,2
    MOV DL,0DH
    INT 21H
    MOV DL,0AH
    INT 21H
    
    MOV DL,BH
    INT 21H 
    
    
    MOV AH,2
    MOV DL,0DH
    INT 21H
    MOV DL,0AH
    INT 21H
    
    
    MOV DL,CL
    INT 21H
    
    MOV AH,4CH
    MAIN ENDP

END MAIN