Tuesday, May 31, 2016

8051 Question Bank

What is microcontroller?
How many I/O ports are placed in microcontroller 8051?
Define DPTR.
What is the purpose of PSW register?
What is use of EA pin?
How many bit addressable location are placed in internal RAM?
What is interrupts signal?
Name the types of 8051 interrupts signals.
Define clock cycle.
Define machine cycle.
Explain the Architecture of 8051.What are the blocks in Microcontroller.
Explain the Pin Diagram of 8051.
Explain the Instruction set with examples.
Explain the block diagram of 8051 Microcontroller.
What is assembler?
Mention the different fields in assembly language instructions?
What is operand field?
What are fields used in assembly language instructions as optional?
Mention two assembler directives?
Mention any four addressing modes of 8051?
Mention any two examples of direct addressing instructions?
What are the instructions used to access external RAM?
How can you perform multiplication using 8051 microcontroller?
What is the operation carried out when 8051 executes the instruction MOVC A,@A+DPTR?
Write an ALP for multibyte addition.
Explain the different modes of addressing used in 8051.
Write an ALP for finding maximum value in an array.
Explain assembly and running of an 8051 program.
Explain the structure of assembly language.
Write an ALP to arrange the given set of ‘n’ numbers in ascending order
Mention the timers of 8051?
Mention the bit addresses of ports p0 and p1?
How many bit addressable locations are placed in internal RAM of 8051?
Mention the SFR registers used in timer operation?
Mention the operating modes of 8051?
What is the function of C/T bit in TMOD register?
Find the timers clock frequency for the crystal frequency of 11.0592MHz?
State the function of M1 and M0 bits in TMOD register?
What is the function of TF0 bit in TCON register?
State the use of T0 pin of 8051?
Explain the bit addresses for I/O of 8051.
Explain TMOD and TCON registers.
Explain bit addresses for RAM.
Explain the steps to program the timer 1 in mode 2.
Explain in detail about the programming of 8051 timer.
Explain the various modes of timer operation with diagram.
How will you double the baud rate in 8051?
What is the function of SMOD in PCON register?
What is RS 232C?
How many timers are in 8051? Specify their names.
Mention the four modes of timer operation.
Mention the registers used for timer/counter operation.
Define timer operation.
Define counter operation.
What are registers used for serial communication in 8051?
Why are drivers bused in between RS232 and microcontroller?
Explain the baud rates of serial communication in 8051.
Explain the interrupts of 8051.
Explain about the serial port programming.
Draw the interfacing diagram of RS232 with8051 and explain its operation.
Explain the functions of each bit of SCON and PCON registers
Explain IP and IE registers.
Define peripherals.
What is interfacing?
What is the use of 8255?
Mention the ports placed in group a and group b of 8255.
Specify some important LCD modules.
What is the use of stepper motor?
What is the use of RTC?
Mention the capacity of nonvolatile ram placed inside of ds 12887
With the diagram explain how 8051 interfaced to external memory.
With the interfacing diagram, explain the operation of delay.
Draw the functional diagram of 8255 and explain each block.
Draw and explain the interfacing diagram of optoisolater with 8051.
Explain the control word format for i/o mode of 8255.
Draw the interfacing diagram of LM35 with microcontroller and explain its operation.
With the help of neat diagram explain the architecture of 8051 microcontroller in detail. Discuss its flag register.
Draw block diagram of 8 channel temperature indicator and controller using 8051 microcontroller. Explain it in detail.
Explain the various addressing modes of 8051 with the help of appropriate example of each.
Write an 8051 assembly language program to multiply two 8-bit numbers kept in the external RAM addressed by 4000H and 4001H respectively. Store the result in the external RAM beginning from 6000H.
Write an 8051 assembly language program to convert a binary number stored in external RAM location 3000H to its equivalent BCD number and store the result in internal RAM 20H.
Ten hexadecimal numbers are stored in internal RAM 40H onwards. Write an 8051 assembly language program to find the largest number and store it in register R4.
Explain various bit level instructions available in 8051in detail.
Write an 8051 assembly language program to compliment the lower nibble of internal RAM location 72H.
Write an 8051 assembly language program to find largerof two 8-bit numbers stored in external RAM 2000H and 2001H.
Explain the difference between MOC, MOVX, and MOVC instructions with the help of neat diagram.
Explain all rotate instructions with the help of appropriate example of them.
Create a Square wave of 50% duty cycle over Port 0.0.
Write an 8051 assembly language program to perform
a) keep monitoring the P0.1 until it becomes high
b) When P0.1 become high, read data from Port 1,and
c ) send a low to high pulse on P1.0 indicate that data has been read.
Explain the difference between MOV 80H, #99H and MOV @R0, #99H if R0=80H.
If A=90H and CY=1, what is the value of A after execution of
(a) RR A
(b)RL A
(c) RLC A
(d) RRC A
Describe the interrupt structure of 8051 in detail.
Explain the function of the pins PSEN and EA of 8051.
Explain the registers DPTR and SP of 8051.
Name any four additional hardware features available in microcontrollers when compared to microprocessors. Explain their use in detail.
Explain how interrupts are prioritized in 8051 microcontroller.
Explain the I/O port structure of 8051 microcontroller in detail.
Explain various timer modes available in 8051 microcontroller in detail.
With the help of neat circuit diagram explain how a 4x4 keypad is interfaced with 8051 microcontrolle. Write 8051 assembly language program for keypad scanning.
Draw the schematic for interfacing a stepper motor with 8051 microcontroller and write 8051 assembly language program for the same.
Explain the instruction set of 8051 microcontroller with appropriate example.
Explain TCON and TMOD function registers of 8051 microcontroller in detail.
Explain SCON and PCON function registers of 8051 microcontroller in detail.
Explain the following instructions of 8051 with examples.
a. CJNE destination, source, label
b. MUL AB
c. INC @Rp
d. SWAP A
e. SETB P2.0
Interface 32K of ROM and 8K of RAM with 8051 microcontroller. Write their address range.
Explain program status word of 8051 microcontroller in detail.
Explain internal memory organization of 8051 microcontroller with the help of necessary figures.
Write an 8051 assembly language program to generate software delay of 100ms. Explain your delay calculations assuming crystal frequency of 12MHz.
A lookup table of seven segment code is stored in ROM beginning from memory location 5000H. A single digit BCD (i.e. 0 to 9 only) is stored in internal RAM 20H. Convert it to its equivalent seven segment code and store it in external RAM 6000H.
Explain different jump and call instructions of 8051 microcontroller with their jump ranges with the help of figure.
Write an 8051 assembly language program to find the square of any number between 0 to F using lookup table technique.
Interface 4 digit seven segment display with 8051 and write a program to display BCD number 5432 on it.
Draw interfacing circuit of LCD with 8051 and write a program to display “HELLO” word on it.
Explain pulse width measurement of a square signal using interrupt 1 pin of 8051 microcontroller. Write an assembly language program of the same.
Interface 8-bit DAC with microcontroller 8051. Write a program to generate saw tooth wave using DAC.
List different modes of data communication available in 8051 microcontroller and discuss any one of them in detail.
Explain interrupt driven character transmission in 8051 microcontroller. Write an assembly language program of the same.
Explain frequency measurement using 8051 microcontroller. Write an assembly language program of the same.
Explain interrupt priority of 8051 microcontroller in detail. How priority can be changed using IP function register?
Differentiate between Microprocessor and Microcontroller?
Describe the Pin configuration of 8051?
Draw and Explain the Block Diagram of 8051?
What are different ways for classifying the Microcontroller?
List the various types of Microcontroller and their family members?
Describe the port structure of Microcontroller?
Define the Input port and Output port?
Explain 8051 signals which has different meaning at different instances?
When should EPROM to be used and when to be flash to be used?
Describe Internal Structure of Data Memory?
List the benefits of EPROM and Flash memory?
What is the value of TH1 in serial communication mode for generating of baud rate of 9600, 4800,2400 and 1200?
Describe the Time/counter section of 8051?
Describe PSW SFR?
Describe the TCON, TMOD SFR?
Assume XTAL=22 MHz, WAP to generate the pulse train of 2 seconds period on P2.4, Use time-1 in mode-1?
W.A.P to generate a Square wave of 50 % duty cycle on P1.5. Time-0 is used to generate the delay?
W.A.P to generate an interrupt after 2 ms using timer-1. Assume crystal clock frequency of 11.0592 MHz?
Describe the register bank concept in 8051?
Interface a memory of 8KB RAM with 8051? Give its address map?
Describe the use of Program and Data memory?
Describe the timing diagram of external memory for accessing its operation?
Describe the external Program and External data memory
How do use timer-0 as external counter to count event?
How do you program timer-0 in Mode-2?
How you will generate a pulse after every 2 ms using 12 MHz Crystal oscillator?
Explain the various addressing modes of 8051?
Describe the Instruction DJNZ,SETB,CLR, RL?
W.A.P. to add two 8 bit numbers kept in internal memory?
W.A.P. to multiply two 8-bit kept in the External data memory addressed by 5000H and 5001H respectively. Store the result in the Memory addressed by 5002H.
Describe various bit level instructions available in 8051?
W.A.P. to compliments the lower nibble of Ram location FFH?
W.A.P. to move bit 4 of RAM location to bit 2 of Accumulator?
W.A.P. to divide one 8-bit number by another 8-bit number?
Describe the concept of stack in 8051?
W.A.P. to find largest number among two 8-bit number?
W.A.P. to load any random number in R4 and R6. Increment R4 and Decrement R6 until they are equal?
Describe the classification of instruction set of 8051?
Describe the various flow controls instructions?
Describe the instructions (all instructions)?
Explain the difference between MOC, MOVX, and MOVC?
Explain all addressing modes available to move byte to direct address?
Describe the difference between LJMP, AJMP and SJMP? Explain how CJNE is useful for implement if and Case statements?
Explain the use of rotate instructions?
Why PUSH and POP instructions are useful for serving to an interrupt?
Compare program, routine, interrupt service routine?
How do you find execution time for set of instructions in the program?
WAP for writing odd bits at port P2=1s and even bits =0s. Toggle the bit 0,3,7 at port P2?
WAP to set clear all the byte of four banks?
WAP to load 98H into accumulator and execute RRC three times and then add 70H. What will be the results in A and Flags? Assume CF=0?
Create a Square wave of 50% duty cycle over Port 0.0?
WAP perform a) keep monitoring the P0.1 until it becomes high b) When P0.1 become high, read data from Port 1 and c) send a low to high pulse on P0.2 indicate that data has been read?
WAP to toggle P1.3, P1.7, P.15 continuously without disturbing other pins of port?
Sate the Bit address of various ports and SFRS?
WAP to find the number of zeros in register R2of bank-0 ?
Explain the difference between MOV 80H, #99H and MOV @R0, #99H if R0=80H?
If A=90H and CY=1, what is the value A after execution of a) RR A b) RL A c) RLC A DNA) RRC A
Describe the interrupt structure of 8051?
Describe IE, IP SFR?
Define the Interrupt latency and Dead line?
How enabling and disabling of interrupt can be carried out?
What is the role of polling to determine the interrupt sources?
Describe the action of processor to call interrupt subroutine?
List the flags for each interrupt source in 8051?
Describe the multiple interrupt sources in 8051?
How do you disable all the interrupts?
How you will set the priorities of interrupt?
Describe the Block diagram of 8259?
Describe ICW1, ICW2, ICW3, and ICW4?
Describe OCW1, OCW2 and OCW3?
Draw the interfacing of 8259 with 8051?
Write a Program to addition when INT0 Interrupt occurs?
List interrupts supported by 8051, with their priority and vector location?
Describe the serial communication feature of 8051 with various operating mode?
List the programmable features of 8251?
Differentiate between synchronous and asynchronous communication?
Describe the SCON, PCON SFR?
Describe the block diagram of 8251?
Describe the Mode/Command/Status register format of 8051?
W.A.P. to transmit letter “Y” continuously over TxD pin with baud rate 64th of clock frequency with even parity enabled, 2 stop bit, character length of 8-bit?
WAP to receive the data which has been send in serial form and send it out to port-0 in parallel form and also save the data in memory location 60H?
Interface ADC0816 with 8051 with Port 0 and Port 1? W.A.P. to read the analog sample and store into memory addressed by 20H?
Interface DAC 0800 with 8051? W.A.P. to generate a square wave through it?
Describe the IC ADC0816? List it specification?
Interface LCD display with 8051? W.A.P. to display 10 characters whose ASCII code is stored in internal memory addressed by 20H?
Design Temperature controlled system using 8051 where system is sensed temperature of furnace at a regular interval. If it exceeds the desired level (assume) then Heater control should be turn off otherwise it remains On?
Describe the Ideal and Power down mode of 8051?
List the various LCD command codes?



Related topics:
8051 Program - day of week calculation   |   8051 Program - i2c subroutines   |   8051 Program - math subroutines   |   8051 Program - conversion subroutines   |   8051 Program - memory subroutines   |   8051 Projects

List of topics: 8051

No comments:

Post a Comment