Sunteți pe pagina 1din 1

MAHARAJA INSTITUTE OF TECHNOLOGY MYSORE

Belawadi, S.R. Patna Taluk, Mandya – 571477


Department of Electronics and Communication Engineering
QUESTION BANK
IV Semester
Course : Microcontroller Course Code : 18EC46

MODULE-1

1. Describe the program Status Word register of 8051 microcontroller.

2. Describe the Architecture of 8051 microcontroller with a neat diagram.

3. Explain the difference between a microprocessor and microcontroller.


Describe the PIN-OUT of 8051 microcontroller with a neat diagram. Explain the following pin functions
4.
ALE, RST, PSEN, EA, RD, WR, TXD & RXD, XTAL1 & XTAL2, PORT 0, PORT 2.
5. Explain the internal RAM organization of 8051 microcontroller.

6. Describe the dual functions of port-3 pins of 8051.


Describe the interfacing connections of external EPROM and RAM to the 8051 microcontroller and
7.
explain how 8051 access them.
8. Describe the internal block diagram and features of 8051 microcontroller with a neat diagram.

9. Describe 8051 Programming Model of 8051 microcontroller.


MODULE-2
1. Write an ALP to add the values of locations 50H and 51H and store the result in locations in 52h and 53H.
2. Assume that 5 BCD data bytes are stored in RAM locations starting at RAM location 80H. Write an 8051
ALP to find the sum of all the numbers. The result must be in BCD. Write the comments and output for
the ALP.
3. Write an 8051 ALP to transfer 5 bytes of data from RAM locations starting from 40h to RAM locations
starting from 50h. Write the comments and output for the ALP.
4. Write an assembly language program (ALP) to move(copy) a block of 10 data bytes from RAM locations
starting at address 40H to RAM locations starting at address 60H.
5. Assume that 10 data bytes are stored in RAM locations starting at 8000H. Write an 8051 ALP to find the
addition of all the numbers. The result must be stored in 8060H. Write the comments and output for the
ALP.
6. Write an 8051 ALP to transfer 5 bytes of data from RAM locations starting from 40h to RAM locations
starting from 50h using external memory. Write the comments and output for the ALP.
7. Explain the following instructions of 8051 microcontroller.
i. MUL AB
ii. ADDC A,R0
iii. DA A
iv. MOVX @DPTR, A
v. MOVC A, @A+DPTR
vi. ANL A, Rn
vii.SWAP A
8. Define Addressing Modes. Explain the following addressing modes of 8051 microcontroller with examples.
i. Immediate Addressing Mode
ii. Register Addressing Mode
iii. Direct Addressing Mode
iv. Register indirect Addressing Mode
v. Indexed Addressing Mode

S-ar putea să vă placă și