Facebook
From Asif, 9 Months ago, written in Plain Text.
This paste is a reply to Untitled from Asif - go back
Embed
Viewing differences between Untitled and Re: Untitled
.stack 100h
.model small  
.data
    str1 db 'MICRO'
    str2 db 5 dup(?)
    
arr dw 1, 2, 4, 5, 6, ?
        
.code
    main proc
        mov ax, @data
        mov ds,ax 
        
ds,ax
        
mov es,ax 
es, ax  
        
        lea si, str1+4\n        lea di, str2\n        std
        mov cx, 5   
lea si, arr+8
        lea di, arr+10  
        
        move:
            movsb
            add di,2
            loop move
mov cx,3
        rep movsw
        mov word ptr [di], 3
          
        mov cx, 5
6
        xor si, si          
                     
        Top:
            mov dl,str2[si]
dx,arr[si]
            add dx,48
            mov ah,2
            int 21h 
                
            inc si
add si,2
            loop Top
        
        main endp
    end

Replies to Re: Untitled rss

Title Name Language When
Re: Re: Untitled Asif text 9 Months ago.