Assembly Language Articles

Submit Article
Home » Articles » Assembly Language » Homework HelpRSS Feeds

file creation in masm

Posted By: Mega Mind     Category: Assembly Language     Views: 24316

.model small
.stack 100h
msg1 db 10,13,'enter the file name$'
msg2 db 10,13,'file is created$'
fn db 50 dup(?)
print macro arg
mov dx,offset arg
mov ah,09h
int 21h
print msg1
mov di,offset fn
mov ah,01h
int 21h
cmp al,13
je crte
mov [di],al
inc di
jmp read
mov cx,0
mov dx,offset fn
mov ah,3ch
int 21h
print msg2




Didn't find what you were looking for? Find more on file creation in masm Or get search suggestion and latest updates.

Mega Mind
Mega Mind author of file creation in masm is from India.
View All Articles


Other Interesting Articles in Assembly Language:

Please enter your Comment

  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].

Siby Xavier from India Comment on: Apr 11
please check this link for sample programs

View All Comments