

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Assignment; Professor: Yalamanchili; Class: Intro to Computer Engr; Subject: Electrical & Computer Engr; University: Georgia Institute of Technology-Main Campus; Term: Spring 2008;
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


This assignment has two parts with two due dates.
A string was encrypted with the following sequence of operations. For each character (byte) of the string:
The resulting string after encryption was “Y@XCQLe” (Does not include the quotation marks). The key used was “*+-26%#” (Does not include the quotation marks). Your task is to write a SPIM program that uses the resulting string and key as input and produces the decrypted string and store the decrypted string back in the data segment. Print the decrypted string to the screen. Code to print a string can be found in the example code provided for Assignment 4.
Do this by reversing the operations for encryption. You can store the input and output strings in memory using data directives as you did in Assignment 4. Note: To decrypt you have to perform operations above in reverse order and perform the inverse operation in each step, i.e.,
if you multiplied by 4 during one step of encryption, you divide by 4 to decrypt. This part does not have to use iteration.
Submission Guidelines : You must submit your assignment electronically to your section TA. Place “ECE 2030 Assignment 5 Part I” in the subject line. The microcode should be completed electronically using the microcode template placed on the section webpage under “Supplemental Readings and Notes” associated with each lecture.
Grading Guidelines: Here are the grading guidelines for the SPIM component of the assignment.
Suggestions :