V Semester B. Tech (Electrical & Electronics Engineering) Make Up Examinations, January 2019
V Semester B. Tech (Electrical & Electronics Engineering) Make Up Examinations, January 2019
2A. Explain in detail the alternate functions of PORT 3 pins of 8051. Draw and explain the
reset circuit of 8051 (04)
2B. Write an 8051 ALP to decrement the 16-bit content of DPTR register by ‘5’. Initial
value of DPTR is A000H, continue the decrement operation (by ‘5’) till the value of
DPTR register is ‘0’. (03)
2C. Calculate the exact time taken by the following 8051 program, if XTAL frequency is
20MHz.
ORG 0000H
MOV R3, #55H
LOOP1: DJNZ R3, LOOP1
MOV R4, #0FH
LOOP3: MOV R5, #0FFH
LOOP2: NOP
DJNZ R5, LOOP2
DJNZ R4, LOOP3
END (03)
4A. Show the interfacing circuit to interface 16X2 LCD to 8051. Write an 8051 ALP to
display ‘MCBSD EXAM’ in the center of first line, also display ‘GOOD LUCK’ in the
second line starting at 3rd position. (05)
4B. Show the interfacing circuit to interface 8-bit ADC-0808 to 8051 and write 8051 ALP
to read digital output of ADC and display it in external memory location 1000H. Use
port P1 for digital data and port P0 for other connections. (05)
5A. Explain with suitable block diagram the architecture of ARM7-TDMI processor. (05)
5B. Explain in detail the CPSR register of ARM 7. (03)
5C. If, A=25, B=19 and C=99, Write and ARM ALP to evaluate (A+8B+7C-27)/8 (02)
Figure 3A