{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Assignment3 - to the base resistor A push button is...

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

View Full Document Right Arrow Icon
EE331: Microprocessor, 2010-11, Term 1 Page 1 of 1 Assignment 3: 10 marks Q1. Write a subroutine to count the number of “1” in a 24-bit word {DATA_H : DATA_M : DATA_L} stored in the data store at the locations: h’30’ – h’32’. Q2. One 7-segment display (common cathode) is connected to Port B of PIC16F84A as shown below. To activate a particular digit, the NPN transistor (connected to RA0) is turned on by applying a high (logic 1)
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: to the base resistor. A push button is connected to RA1. Write an assembly program using call-retlw instructions that displays the pattern, “ HELLO ” whenever the pushbutton is pressed. There should be a delay of 1 sec between the display of each letter. Assume that the MCU is running by a 4MHz external crystal....
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