Gujarat Technological University
Gujarat Technological University
___________
OR
(c) Draw the complete diagram for interfacing 4K RAM memory with 8051 07
microcontroller.
Q.3 (a) Write a program to transfer the content of register R0 of Bank 0 to register R7 of 03
bank1.
(b) List out directive supported by 8051 microcontroller and explain any two with 04
suitable example.
(c) Explain addressing modes supported by 8051 microcontroller 07
OR
Q.3 (a) Explain MUL and DIV instruction of 8051 microcontroller. 03
(b) Explain PUSH and POP instructions of 8051 microcontroller with suitable 04
examples.
(c) Enlist Logical instructions of 8051 microcontroller. Explain any two with suitable 07
examples.
Q.4 (a) Compare AJMP, LJMP & SJMP. 03
(b) Write a program continuously monitors the status of switch connected to Port 04
P0.0 and transfer it to LED connected to Port P0.1
(c) Describe TMOD register and explain various modes of timers in 8051 07
microcontroller.
OR
Q.4 (a) Explain SCON register of 8051 microcontroller. 03
(b) W.A.P. to transfer block of data from internal memory location to external memory 04
location.
(c) Generate 1 ms time delay using timer programming assume crystal frequency is 07
12Mhz.
Q.5 (a) Explain IP register 0f 8051 microcontroller. 03
(b) Interface DAC 0808 with 8051 microcontroller. 04
(c) Interface LCD with 8051 and write an assembly language program to display 07
“Hello”. Explain with diagram.
OR
Q.5 (a) Draw the internal structute of Port 0. 03
(b) Explain interfacing of stepper motor with microcontroller 04
(c) Interface 4x 4 matrix keyboard with 8051 microcontroller and write down the 07
algorithm to detect the pressed key of 4 X 4 matrix keyboard.
*************
1