You are on page 1of 1

V R Siddhartha Engineering College (Autonomous)

Department of Electronics & Communication Engineering


Year: IV/IV- I semester
Sub Code: EC 7003

Section: A & B
Subject: Microcontrollers & Embedded Systems
Assignment Questions

1)
2)
3)
4)

Explain the architecture and features of 8051 with a neat sketch.


Explain memory organization in 8051 and stack. What is the default location of stack?
Explain various addressing modes with examples.
Write an ALP to find the largest of ten numbers located from 30h.store the largest

one in R0 of bank 3.
5) Write an ALP to read data from p1.0. If it is high, send a high to low pulse to p2.0 else
send a low signal.
6) Explain the structure of ports 1to 3. How they differ from p0 and why?
7) How can be looping done in 8051? Explain with example.
8) Write a program to find if the given number is even or odd. If odd, count the number
of 1s and sends the result to R0.
9) Write a program to toggle all bits of p1 and p2 continuously
a. Using AAH and 55H.
b. Using CPU.
10) Find the time delay generated by the following routine if XTAL=2.2MHZ.
HERE: MOV r0, #200
AGAIN: DJNZ R0, AGAIN
RET

You might also like