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

Microprocessor and Embedded Systems

The document is an exam paper for a microprocessor and embedded systems course. It contains 6 questions divided into 2 parts. Part A contains 3 questions asking students to draw block diagrams and port structures of the 8051 microcontroller, explain its register organization and addressing modes, and write programs to transfer data between registers and toggle port bits. Part B contains another 3 questions asking students to write about assembler directives, data types in assembly language C, timers and counting sequences in 8051, and writing programs to add numbers, generate waveforms, and toggle ports using timers. The maximum time is 2 hours and the exam is worth a total of 60 marks.

Uploaded by

syulmnmd
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
0% found this document useful (0 votes)
39 views1 page

Microprocessor and Embedded Systems

The document is an exam paper for a microprocessor and embedded systems course. It contains 6 questions divided into 2 parts. Part A contains 3 questions asking students to draw block diagrams and port structures of the 8051 microcontroller, explain its register organization and addressing modes, and write programs to transfer data between registers and toggle port bits. Part B contains another 3 questions asking students to write about assembler directives, data types in assembly language C, timers and counting sequences in 8051, and writing programs to add numbers, generate waveforms, and toggle ports using timers. The maximum time is 2 hours and the exam is worth a total of 60 marks.

Uploaded by

syulmnmd
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1/ 1

St Thomas College of Engineering and Technology

Department of Electrical and Electronics Engineering


EE309: MICROPROCESSOR AND EMBEDDED SYSTEMS
Second Series Examination September 2017: 2015-’19 KTU
Max Time 02:00hrs Max Mark: 60

PART A
Answer any two questions
1 a. Draw the architectural block diagram of a 8051 microcontroller
b.How are registers of 8051 classified?
c. Explain the function of the PSW register. How does it help in the selection
of registers?
d.Draw the register organization in 8051. (5+4+6=15)
2 a. Draw and explain the port structure of PORT 0. – 6marks
b. How can port 0 be configured as an input port?
c. WAP to toggle each bit of Port 0 51 times. (6+4+5=15)
3 a. Explain the classification of instruction set. Explain each in detail.
b.What are the different addressing modes. Explain with examples.
c. WAP to transfer data from register 5 of bank 0 to register 5 of bank 3 (5+5+5=15)

PART B
Answer any two questions
1 a. Write short note on assembler directives supported by the 8051
microcontroller.
b.What are the different data types supported by assembly C program.
c. WAP to add two numbers in 8051 microcontroller. (5+5+5=15)
2 a. Write the steps to calculate time delay in assembly language.
b. Write a program to generate a square wave with 33% duty cycle.
c. WAP in assembly C to toggle the 5th bit of port 1.
d. WAP toggle the bits in port 1 every 1/4th of a second. (2+5+5+3=15)
3 a. Design and implement a four bit up/down counter. Assign a port bit to
control the counting sequence.
b. What are the different registers used to control the timer module of 8051
microcontroller?
c. WAP to toggle the bits of port 2 using timers. (7+3+5=15)

You might also like