k265qz9sp10 - Quiz 9 ECE 265 Sp 10 Suppose that the...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Quiz 9 ECE 265 Sp 10 Suppose that the 7-segment display is connected to PortB. ' For this quiz you will write a short program. When the program is running, the user e bit number on the itches connected to P then raises Str (,STRA) to indicate t at e or she is finished entering the number. T erefore, the MOWWW then displays the digit 1 on the 7-segment display if the number is negative and 0 if it is positive or zero. The program repeats indefinitely. The displayed numbers 1 or 0 don’t change until the next 8 bits are entered and strobed by the user. Your program should be complete such that if we typed it in the simulator, it would run. I’m showing you below how the segments of the 7-segment display are numbered as a reminder. pom—b Bed 5*. IDO‘l PoRTcL E90 $\°w§ PIOC. H10 4: “’02 0 as ‘i l 00 or /\95 2:1; TsT LDkA VORTLL 59L P 03 NEG LDAB at STAB PORT 5 BRA sTAkr Po 5 LDAB it $3F SW5 Poms (BRA STAFT ORG it??? E {:05 START ’ ...
View Full Document

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern