Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

clueless with a DOS assembly program

Status
Not open for further replies.

solace

Programmer
Feb 11, 2003
2
CA
HI I am not very good at this stuff and I am trying to write a program that i will call test.com which i want to save to a file c:\king.txt. When I call it I want to have a statement saying: My Favorite color is: 'input' then F1 to end it.

eg. My favourite colour is GREEN + [F1]

Then it will create a file C:\king.txt and save the whole line as above in the file.


I havee bits of it but i dont know how to fit it all together


mov SI, 00
mov ah, 01
int 21
mov [SI + 200], AL
.
.
.
.
mov ah, 3c
int 21
.
.
.
mov ah, 40
int 21


This probably sound simple to most so if anyone could help that would be so nice! [dazed]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top