0% found this document useful (0 votes)
52 views1 page

Assignment 2

The document is an assignment for a Microprocessors and Microcontrollers course. It contains 8 questions related to concepts like I/O mapped I/O, memory mapped I/O, addressing modes, interrupts, subroutines, packed BCD conversion, and arranging numbers in descending order. Students are asked to write programs and provide explanations for the 8051 microcontroller.

Uploaded by

Navin Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
52 views1 page

Assignment 2

The document is an assignment for a Microprocessors and Microcontrollers course. It contains 8 questions related to concepts like I/O mapped I/O, memory mapped I/O, addressing modes, interrupts, subroutines, packed BCD conversion, and arranging numbers in descending order. Students are asked to write programs and provide explanations for the 8051 microcontroller.

Uploaded by

Navin Kumar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

MANIPAL UNIVERSITY

V Sem, BE Instrumentation Control Engg.


Microprocessors & Microcontrollers (ICE 305)
Assignment I

Submission Date (11– 10 – 2010)

(All programs are for 8051)

1. With an example explain the concept of I/O mapped I/O and memory mapped I/O
2. What is addressing mode? Explain the addressing modes of 8051 (with example)
3. Draw the timing diagram for the instructions STA 2065H and IN
4. Explain the operation of Interrupts in 8051 and explain the use of Interrupt control register IE
and IP.
5. Write an ALP to find the sum of two 32 bit numbers stored in RAM locations 40H-43H and
50H-53H and store the sum at location 60-63H
6. Write a program with three subroutines to (a) transfer the following data from on-chip ROM to
RAM locations starting at 30H, (b) add them and save the result in 70H, and (c) find the average
of the data and store in R7.
My data: ORG 250H: 3, 9, 6, 9, 7, 6, 4, 2, 8
7. Write a program to convert the following packed BCD 0111 0101 to two binary numbers and
transfer these numbers to registers R0 and R1.
8. Write an ALP to arrange N number in descending order

You might also like