To be upfront and all, this is indeed a homework assignment. But I'm not looking for anyone to write the code I need just help me with a few functions I'm needing to use (the book is VERY vague on how to use these instructions).
Assignment is open an encrypted file, decrypt it and then send it to a new text file.
Ok so far I have this
.data BUFFER_SIZE = 5000 buffer BYTE BUFFER_SIZE DUP(?) filename BYTE "myfile.txt",0 (this is coming from my book) .code mov edx,OFFSET filename call OpenInputFile mov edx,OFFSET buffer mov ecx,BUFFER_SIZE call ReadFromFile call WriteToFile
As I said the book is extremly vague on how these instructions truly work. My question is what is the normal procedure to open a file, read it and then output it to a new file?
Edited 7 Years Ago by RayvenHawk: n/a