hwset8(2) - Carnegie Mellon University Department of...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Carnegie Mellon University Department of Electrical and Computer Engineering 18-100 Fall 2009 Introduction to Electrical and Computer Engineering Homework 8 - Due Tuesday, November 10, 2009 For this homework, you can just print it out and fill in your answers on the assignment. Please staple all of your pages together! Note: For any code that you need to write, use the code examples from Lab 9 and from the lecture slides to help you structure your programs and to find commonly used instructions. Name: _________________________________________ Section: __________ 1 1. You're writing a program in which you need to subtract 8 from several numbers. After looking at the documentation, you see that the ATmega8 has a subi instruction you can use to accomplish this. However, upon further investigation you discover that the ATmega8 you bought on eBay has a few broken instructions! It seems that neither sub nor subi work. You quickly realize that this is not a problem, because you can use your computer engineering ingenuity to...
View Full Document

This note was uploaded on 12/13/2009 for the course ECE 18100 taught by Professor Williams during the Fall '07 term at Carnegie Mellon.

Page1 / 7

hwset8(2) - Carnegie Mellon University Department of...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online