Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

MIPS Assembly Programming - Homework #4 | CDA 3100, Assignments of Electrical and Electronics Engineering

Material Type: Assignment; Professor: Zhang; Class: COMPUTER ORG I; Subject: COMPUTER DESIGN/ARCHITECTURE; University: Florida State University; Term: Spring 2009;

Typology: Assignments

Pre 2010

Uploaded on 08/31/2009

koofers-user-ebr
koofers-user-ebr 🇺🇸

10 documents

1 / 2

Toggle sidebar

Related documents


Partial preview of the text

Download MIPS Assembly Programming - Homework #4 | CDA 3100 and more Assignments Electrical and Electronics Engineering in PDF only on Docsity! Homework Assignment #4 – MIPS Assembly Programming CDA 3100, Computer Organization I, Spring 2009 Due: Midnight, March 6, 2009 Submission: Email the code to the TA and the instructor. The purpose of this assignment is to practice the implementation of a typical embedded controller. ¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾¾ 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. • Power key: ‘p’ on the keyboard • Channel +/- : ‘u’ as + and ‘d’ as – • Vol +/- : ‘l’ as + and ‘k’ as – • Digit input: 0-9 • Sleep timer: ‘s’ • View history: ‘v’ The specifications are: 1. When there is no input, roughly every 3 seconds, print out the current state of the TV, including: Current second, Power On (of Off), Channel (current channel watching), volume (current volume), Sleep timer remaining. For example, “100 sec -- Power On! Channel 10, Volume 30, sleep timer 120.” If power is off, only output “100 sec -- Power off!” 2. Power key. When power key is pressed, if the power is currently off, turn on the TV immediately by printing “Power On!” When power key is pressed, if the power is currently on, turn off the TV immediately by printing “Power Off!” 3. Channel +/-.Once pressed, change the current watching channel accordingly within a range of 0- 99 and print out, for example, “Channel 30.” 4. Volume +/-.Once pressed, change the volume accordingly within a range of 0-99 and print out, for example, “Volume 30.”
Docsity logo



Copyright © 2024 Ladybird Srl - Via Leonardo da Vinci 16, 10126, Torino, Italy - VAT 10816460017 - All rights reserved