this is not funny

This is a discussion on this is not funny within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I have just recieved my assigment for computer systems and architecture, it is worth 25% of my final grade. And ...

  1. #1
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385

    this is not funny

    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!!!!!!!!!!!!!!!!!!!!!!!!!
    Monday - what a way to spend a seventh of your life

  2. #2
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,139
    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 ?
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  3. #3
    Former Member
    Join Date
    Oct 2001
    Posts
    955
    Do it in C, compile it, and then do a disassemble with any tool (W32Dasm is my choice)

    Oskilian

  4. #4
    Just one more wrong move. -KEN-'s Avatar
    Join Date
    Aug 2001
    Posts
    3,230
    OUCH! that, my friend, is absolutely terrible.

  5. #5
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    724
    ::winces in sympathy::

  6. #6
    Registered User
    Join Date
    Sep 2001
    Posts
    6
    am I the only one envious of iain?

  7. #7
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    >>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

  8. #8
    Meow Pendragon's Avatar
    Join Date
    Sep 2001
    Location
    Swindon, UK
    Posts
    724
    I wish I was in uni doing this stuff
    Do you really? I don't. I'm a lazy bugger sometimes.

  9. #9
    Registered User
    Join Date
    Sep 2001
    Posts
    412
    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.

  10. #10
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    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.

  11. #11
    Hamster without a wheel iain's Avatar
    Join Date
    Aug 2001
    Posts
    1,385
    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!
    Monday - what a way to spend a seventh of your life

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Funny Windows Error Codes (I rofled...)
    By Sentral in forum A Brief History of Cprogramming.com
    Replies: 10
    Last Post: 06-01-2006, 09:38 AM
  2. funny things
    By Benzakhar in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 01-10-2004, 10:06 AM
  3. Object Oriented - Funny story
    By MethodMan in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 09-26-2002, 02:21 PM
  4. Funny
    By Imperito in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 08-21-2002, 05:41 PM
  5. For some reason, it prints funny characters ???
    By Nutshell in forum C Programming
    Replies: 8
    Last Post: 01-14-2002, 03:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21