ET3491 - Unit 1
ET3491 - Unit 1
ET3491 - Unit 1
Unit-1
UNIT I 8051 MICROCONTROLLER
Microcontrollers for an Embedded System – 8051 – Architecture – Addressing Modes –
Instruction Set – Program and Data Memory – Stacks – Interrupts – Timers/Counters – Serial
Ports – Programming.
Q.
Question Marks CL CO
No.
Part-A
1 Differentiate microprocessor and microcontrollers. 2 Un CO1
2 What is an embedded system? 2 Re CO1
3 Compare embedded system and general purpose computer. 2 Un CO1
4 Differentiate Von Neuman and Harvard architecture. 2 Un CO1
5 What type of architecture is 8051? Justify your answer. 2 Re CO1
6 What is the significance of EA pin? 2 Re CO1
7 Compare stack register and program counter. 2 Un CO1
8 List the major features of 8051. 2 Re CO1
9 What is a datapointer? 2 Re CO1
10 What is an interrupt? 2 Re CO1
11 List the addressing modes in 8051. 2 Re CO1
12 Give the need for PSW register with diagram. 2 Re CO1
13 List the type of instructions used in 8051. 2 Re CO1
14 Differentiate register and accumulator 2 Un CO1
15 List the applications of timer. 2 Re CO1
16 How stacks are accessed? 2 Re CO1
17 Differentiate Van Neumann and Harvard architecture. 2 Un CO1
18 Differentiate low level language and high level language. 2 Un CO1
19 Define assembly language. 2 Un CO1
20 List the function of serial port. 2 Re CO1
Part-B
1 Explain the addressing modes of 8051 with example. 13 Un CO1
2 Demonstrate the architecture of 8051 with neat diagram. 13 Un CO1
3 Outline the instruction sets used in 8051 with example. 13 Un CO1
4 Illustrate the arrangement of registers in register bank of 8051. 13 Un CO1
5 Explain the instructions used to access the external memory. 13 Un CO1
6 Explain the structure and programming mode of timers. 13 Un CO1
7 Illustrate the need for counter and its working. 13 Un CO1
8 Interpret the registers associated with serial port. 13 Un CO1
9 What is interrupt? Explain the basic interrupts used in 8051. 13 Un CO1
10 Explain the operation of stack and stack pointer. 13 Un CO1
11 Explain the central processing unit of controller. 13 Un CO1
Write an assembly language program to add two numbers using
12 13 Un CO1
immediate, direct and indirect addressing.
Write one instruction each using this following addressing modes
13 13 Un CO1
a. Indexed addressing (5)
b. Register Indirect (4)
c. Immediate (4)
Show the results of the following
ORL A, #30H
Summarize the steps to represent the following numbers in 8051
15 13 Un CO1
a. -128 b. Subtract -78 from -43
Part-C
Assume that bit p2.2 is used to control an outdoor light and bit p2.5 is a
1 light inside the building. Show how to turn on the outside light and turn 15 Un CO1
off the inside one.
Ten hex numbers are stored in RAM locations 50H onwords. Write a
2 program to find the biggest number in the set. Save the biggest number 15 Un CO1
in 60H.
3 Write a program to subtract two 16 bit numbers. 15 Un CO1
Write an 8051 ALP to copy the value 55H into RAM locations 40H to
4 15 Un CO1
45H using register indirect addressing with a loop.
5 Draw the architecture of 8051 and explain stack and stack pointer. 15 Un CO1