Introduction Microprocessors July 2005 Old
Introduction Microprocessors July 2005 Old
com
I
T'lme: 3 hrs.)
NEW SCHEME
CS45
USN ~~~~~~~~~~~~
Fourth Semester B.E. Degree Examination, July/August 2005
C01nputer Science and Information Science Engineering
Introduction to Microprocessors
[Max.Marks : 100
Note: 1. Answer any FIVE full questions. 2. All questions carry equal marks.
1. (a) Draw and explain the block-diagram of microprocessor- based system and also explain the general sequence it follows to execute the instructions. <7 Marks) (b) Explain the different methods of data transfer possible between MPU and I/0.
( 7 Marko)
(c)
Bringout difference between memory mapped 110 and I/0 mappe d 110 addressing. (6 Marks)
(5 Marks)
Explain the function of the following instructions in 8086. i) XLAT ii) DAA ili).XCHG AX, BX iv) MOVSB.
(8 )farks)
(cl What is bus cycle? Draw memory-read bus cycle in minimum mode of opt>ration of 8086. (7 !\larks)
3. (a) Explain why memory is divided into segments in 8086? What are its advantages .
(5 Marks)
(b) Explain the maximum mode of operation of 8086 with details of each pins.
(8 Marks)
( 7 Marksl
4. (a) What is addressing mode? Explain different addressing schemes used in 8086 with examples of each. ( 10 lltarksl (b) How does main progrmn and subroutine communicates ? Explain wi th an example. (10 Marksl
5. (a) Write an 8086 ALP to find factorial of a number using recursive algorithm.
u o Marksl
(b) Write an 8086 ALP to convert set of BCD bytes to binary. Use main program uo MarksJ and subroutine BCD-BIN for conversion. Write comments.
( II Marks)
(b ) Explain the sequence of operation followed after the execution ofiNTR interrupt. Write tim ing diagram. ( 10 Marksl
(c) What do you mean by interrupt priorities ? List out interrupt priorities in 8 086. ( 61\Jarksl
7. (a) \Vbat ar the critera to be e9nsidered before interfacing n'lerr Interface 61KB EPROM and 64 KB RA..l\f lu 8086 cperatin1
(u J Exphtin the different lllodes of operation of 8255.
8.
H)
8255
** * **