

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
Homework assignment #4 for cda 3100, computer organization i, spring 2008. Students are required to implement a simple tv controller using mips assembly programming. The controller accepts various commands like power on/off, channel up/down, volume up/down, sleep timer, and digit input. Specifications for handling each command and optional extra requirements for earning extra credits.
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!


CDA 3100, Computer Organization I, Spring 2008 Due: Midnight, February 29, 2008 Submission: Email the code to the TA and the instructor.
In this assignment, you are asked to implement a simple TV controller. It accepts simple commands like vol+/-, channel +/-, channel digit input (0-9), sleep timer, and power on/off.
1’ is pressed, print out “Channel 1-” immediately. The controller should be expecting another digit input for another 2 seconds. If any other key is pressed during these two seconds, abort the digit input. For example, if1’ is pressed at 1000 second and channel +’ is pressed at 1001 second, the controller should perform the channel + function and “forget” about the digit input. If no other key is pressed during the two seconds, the controller switches to channel 1. If another digit key is pressed within the two seconds, for example,2’ is pressed, the controller switches to channel 12 immediately.