For this assignment we had to program in Pentium ix86 ASM and utilise the COM ports to send a text file from one machine to another.
This had to be completed in Microsoft VC++ Developer Studio.
The task was to do the following:
- read a text file off the hard drive
- encrypt it
- send it to another computer via the COM port
- recieve it on the other end
- decrypt it
- save the decrypted file to the hard drive
The easiest approach, in our minds, was to write the program in C first, and then convert it into ix86 ASM once we had it working. We also built Mini-programs to test each phase of the program.
We did some work and came up with quite a simple, but very effective encryption algorithm.
We then set about writing the actual programs for transmitting and recieving the text file.