Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- org 100h
- .stack 100h
- .data
- nl db 0dh, 0ah,'$'
- .code
- onem macro x ;subidha : parameter pass krte pari.
- mov ah,2
- mov dl,x
- int 21h
- endm onem
- onem2 macro y
- mov ah, 9
- lea dx, nl
- int 21h
- ;subidha : parameter pass krte pari.
- mov ah,2
- mov dl,y
- int 21h
- endm onem2
- main proc
- mov dx, @data
- mov ds, dx
- mov al, 'a'
- call oneproc
- onem 'a'
- onem2 'N'
- mov ah,4ch
- int 21h
- endp main
- oneproc proc
- mov ah,2
- mov dl,al
- int 21h
- ret
- endp oneproc
- end main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement