PDA

View Full Version : this is not funny



iain
11-13-2001, 11:17 AM
I have just recieved my assigment for computer systems and architecture, it is worth 25% of my final grade. And this is what i have to do:

In assembler code write a secure peer to peer text transfer system. If should take file from a disk, encrypt it transfer it via the serial port to a connected computer, display it on the remote computer monitor and save it to a file. The system must include full error handling and an effective encryption/decryption system.

IN ASSEMBLER!!!!!!!!!!!!!!!!!!!!!!!!!

nvoigt
11-13-2001, 11:23 AM
My condolences... tough luck man. That sucks. I can remember it took hours just to get a reasonable text display in assembly.

btw: I know it's kinda cheating, but could you take a C compiler, write the program and hand in the dissassembled program ?

oskilian
11-13-2001, 11:45 AM
Do it in C, compile it, and then do a disassemble with any tool (W32Dasm is my choice)

Oskilian

-KEN-
11-13-2001, 12:09 PM
OUCH! that, my friend, is absolutely terrible.

Pendragon
11-13-2001, 05:31 PM
::winces in sympathy::

steven_g
11-13-2001, 05:40 PM
am I the only one envious of iain?

Fordy
11-13-2001, 05:45 PM
>>am I the only one envious of iain?

No... I can see how that is the kind of project that makes you sweat at night, but still its a good challenge. And just imagine the satisfaction once you've finished.

I wish I was in uni doing this stuff

Pendragon
11-13-2001, 05:50 PM
I wish I was in uni doing this stuff

Do you really? I don't. I'm a lazy bugger sometimes. :p

The V.
11-13-2001, 07:03 PM
I had to do projects like that. Try doing it in MIPS assembler. You can't test programs on your own PC, so you need to go to the labs to test the code. Further, we were (at least for the first projects) told we could use a library of routines they provided, but they neglected to fully specify the calling conventions (they failed to tell us which registers were guaranteed to be preserved across calls, and which were not guaranteed).

By the end of it, I had learned something about writing large projects in assembly languages (I already knew x86 asm though), and I wanted to slap my prof. silly for the crap he made us do.

VirtualAce
11-14-2001, 05:28 AM
Well, if you can use the UCR standard library it would help. Most of the functions are the same as C stdio.h. The library is really old, though. There is a link to it on Randall Hyde's AoA site. But, the docs for it are vague and you may have to look at the code to determine which registers to use and which ones are preserved.

But that program with or w/o a library is not going to be any fun to write.

iain
11-14-2001, 09:21 AM
unfortunatly i cannot write it in a hll then dissamble it because a full written report of how it works and commented code is also required.

It is however a challenge (an exceptionally large one) and if i get it to work i will be incredibly happy ad look smug for several days!