Microcontroller and Applications - Dec 2014
Electronics Engineering (Semester 5)
TOTAL MARKS: 80
TOTAL TIME: 3 HOURS (1) Question 1 is compulsory.
(2) Attempt any three from the remaining questions.
(3) Assume data if required.
(4) Figures to the right indicate full marks. 1 (a) Explain program status word of 8051 micro controller in detail.(5 marks) 1 (b) Describe the TCON, TMOD SFR?(5 marks) 1 (c) Explain the ARM7 pipeline mechanism.(5 marks) 1 (d) What are the statuses of Condition Flags in Logical & Arithmetic Instructions?(5 marks) 2 (a) What are the different addressing modes of 8051 micro controller? Explain each with suitable example.(10 marks) 2 (b) Explain various timer modes available in 8051 micro controller in detail.(10 marks) 3 (a) Describe the interrupt structure of 8051 in detail.(10 marks) 3 (b) Explain the following instructions of 8051 with examples.
i) CJNE destination source, label,
ii) MUL AB,
iii) INC @Rp
iv) SWAP A
v) SETB P2.0(10 marks) 4 (a) Explain ARM Processor modes.(10 marks) 4 (b) Explain various ARM processor exceptions & interrupt with its vector locations.(10 marks) 5 (a) Explain how the ARM instruction set suitable for embedded applications.(10 marks) 5 (b) Explain the following instructions of ARM processor
i) TSTEQ r2, #5;
ii) CMP r0, r1;
iii) BICEQ r2, r3, #7;
iv) MVNEQ r1, #0;
v) STR r0, [r1, #12].(10 marks) 6 (a) Create a square wave of 50% duty cycle over a pin P1.5 with 2 khz frequency (Assume Crystal frequency=12 Mhz).(10 marks) 6 (b) Write an 8051 assembly language program to find largest number among five 8-bit numbers?(10 marks)