Sie sind auf Seite 1von 4

MATHA COLLEGE OF TECHNOLOGY

DEPARTMENT OF ECE-3ND YEARVI TH SEM


MG UNIVERSITY PREVIOUS YEAR QUESTION PAPER FOR MICROCNTROOLER
AND APPLICATIONS (10 YEARS)-MODULE -1
TUTOR NAME:DIVYA R

SOLUTION:REFER EC010605 MICROCONTROLLER AND APPLICATIONS NOTES


MODULE 1.PDF

1. Explain the functions of the following registers in 80c51?


I)DPTR II)PCON
2. Explain the flags in 80c51 microcontroller?
3. Explain the internal block schematic of 8051 microcontroller?
4. Explain I/O PORTS of 8051 with the help of diagrams?
5. Explain the functions of the following pins of 80c51?
I)ALE II)PSEN
6. Explain organization of internal RAM of 80c51 microcontroller?
7. Explain the SFR's of 8051?
8. Explain the function s of the following pins of 80c51?
9. Explain how register banks of 80c51 can be changed?
10. Explain the use of the following pins of 8051?
i)TXD ii)TO iii)INTO iv)PSEN
11. Dual roles of port 0?
12. Show the bit assignments of PSW of 80c51?
13. Explain the structure of port 1 of 8051?
14. Explain the use of the following pins of 8051?
i)RST ii)EA iii)INT1 iv)RXD
15. Explain the register banks and their functions in 80c51?
16. How single bits can be addressed in the ports of 80c51?
17. Explain the functions of the following registers in 80c51?
I)SCON II)PCON III)PSW
18. How external memory can access in 8051?
19. Explain the purpose of xtal1 and xtal2 pins in 8051?
20. What is the purpose of DPH and DPL registers of 80c51?
21. Write about bit addressing facilities in 8051 in detail?
22. Distinguish between Harvard and von Neumann architecture?
23. Differentiate between microprocessor and microcontroller>?
MODULE II

SOLUTION:REFER EC010605 MICROCONTROLLER AND APPLICATIONS NOTES


MODULE 1.PDF

1. What are the addressing modes available in 8051µc explain?


2. Draw and explain the memory map of data RAM used in 8051 µc?
3. Describe the function of XCH instruction in 8051 µc?
4. Explain all the program control instruction s in 8051 µc with examples?
5. List out the bit manipulation instruction of 8051 µc with suitable examples?
6. Explain in detail about all instructions of data transfer group of 8051 µc and give example
for each one?
7. How many types of call and jump instruction exist in 8051 µc? explain?
8. Explain in detail how the memory is organized in 8051 µc?
9. Explain briefly the program and data memory organization in 8051?
10. Explain each bit of PSW in 8051?
11. What are the various single bit instructions in 8051?Give examples?
12. Explain conditional jump and unconditional jump instructions?
13. Write the status of the CY and AC flags after executing following instruction ?
MOV A,#50h
ADD A,#10h
14. Explain direct and indirect addressing area?
15. Explain branching ,Boolean and arithmetic instruction with examples?
16. what will be the contents of AC and CY flags after execution of the following instructions?
MOV A,#04
MOV R0,#25H
DEC A
ADD A,R0
17. Explain the instructions
CJNE A ,add, radd
JNC radd
18. Give 5bit control instruction in 80c51?
19. Write an assembly language program using 80c51 to add an array of unsigned no's available
in the internal RAM .the array contains 6 numbers?
20. Difference between ACALL &LCALL INSTRUCTIONS?
21. What happens when the following instructions executed?
MUL AB
DIV AB
22.Programm and data memory are same in 8051?comment on this statement?
23.Distinguish between bit jumps and byte jumps?
24.Discuss the effect of push and pop instructions?
25.Explain the following instructions of 8051?
ADD A,@R0
ANL A,#0CAH
SJMP EXIT
SETB TR1
26.Explain the following instructions of 8051?
MOVC A,@A+DPTR
DJNZ ADD,RADD
27.List out the advantages of having register banks in 8051?
28. Explain the following instructions of 8051?
DAA
ORL C,BIT
29. Explain the following instructions of 8051?
MOVX A,@A+DPTR
MOV A,@RO
MOV A,#08H
30.Explain the following mnemonics of 8051?
DJNZ R2,AGAIN
SETB PSW.4
CJNZ A,#99H,NEXT
CPL A

8051 PROGRAMMS
1. Write a program to find the sum of 5 BCD numbers are stored in RAM locations starting
at 40h the result must be in BCD?
2. Write a program to find average of 10 numbers stored in RAM location starting from
60H?
3. Write a program to increment the contents of internal RAM location 4Dh until the
value equal to 2Ch?
4. Write a program to find the average of all 8 bit odd numbers in the given array. The
no of the array are stored in RAM location starting from 40h.the last element of the
input array is EEh?
5. Write a program to add all odd parity no's in the given array. The array of numbers
are stored in RAM location starts from 60h.the number of elements in the input
array is 10h?
6. Write a set of instructions which swap the contents of the two memory locations 60h
and 61h if the carry flag is 1?
7. Write a program to check how many times the byte 0Eh is occurring in 9 bytes of
data stored in RAM location 60h onwards store the result in location 70h?
8. An array of 9bytes is stored in memory location 60h onwards. Write a program to reverse
the array & store the result in same location?
9. Write a program to add 7 BCD numbers in RAM location starting from 60h?
10. 10 bytes are stored in the RAM location 60h onwards, write a program to find the largest
byte among them? Store the result in location 70h?
11. Write a program to add 10bytes in consecutive memory locations ?
12. Write a program to find the largest no from 8bytes stored in consecutive memory location
using 80C51 assembly language?
13. Write an 8051 assembly language program for adding 5 ,8bit numbers in consecutive
internal memory locations?
14. Write a program for adding N 8bit numbers using 8051 µc?

Das könnte Ihnen auch gefallen