Professional Documents
Culture Documents
Assignment Questions
Unit -1
UNIT -2
1. Explain different addressing modes
2. What is indexed addressing mode
3. Explain how is PSW affected when following instructions are executes- addc,
sub, rrc, djnz
4. Write a program to add first 10 prime numbers
5. Explain the functions of the following pins of 8051 1) EA 2) ALE 3) RST ( 7
marks)
6. Draw a schematic to interface external ROM and RAM to 8051. How to access
them?
7. Mention the function of the following instructions of 8051 CPU: 1) MOVC
A,@A+DPTR 2)CJNE 3)MUL AB 4) DJNZ 5) A CALL
8. List out the address range of bit addressable memory locations
9. Explain register bank of 8051
UNIT 3
1. How bit level logical operations can be done in 8051
2. write a subroutine to decrement the contents odf DPTR
3. Write the different conditional JUMP instructions in 8051
4. Write a program to logically OR the contents of ports P1 and P2 and put the
result in external RAM location 0100H
5. Find the sum of values 03h, 56h, 95h put the sum in R0 and R5
6. Write an ALP to find square root of a numbers and store in R0
UNIT 4
1. What are the advantages of C programming
2. What are the disadvantages of C programming
3. Write c program to calculate square and cube of a number
4. Write 8051 assembly language program and C program to send a 8 bit numbers
to P1
5. Explain the data types in C
6. What are the different preprocessor directives in C.
UNIT 5
UNIT 6
1. explain the different steps to receive data serially using 8051
2. Explain serial communication
3. What are the advantages and disadvantages of serial communication
4. What are the serial ports in 8051
5. What is serial communication? How is this achieved with 8051 using RS232
standards
6. What is need of max232
UNIT 7
UNIT 8