LOYOLA COLLEGE (AUTONOMOUS), CHENNAI – 600 034
|
M.Sc. DEGREE EXAMINATION – PHYSICS
SECOND SEMESTER – APRIL 2008
PH 2807 – MICROPROCESSORS AND MICRO CONTROLLERS
Date : 17/04/2008 Dept. No. Max. : 100 Marks
Time : 1:00 – 4:00
PART – A
Answer ALL Questions. (10×2=20)
- Write a note on the LDS instruction of m
- Write a note on ‘W’ and ‘D’ bits in the instructions of m
- Develop a program segment for mP8086 to complement the contents of memory location with offset 100h with respect to ES.
- Develop a program for mP8086 to unpack a two digit packed BCD number in AL to unpacked BCD format in AX.
- Develop a program for mP8086 to accept 20H bytes from an input port with address FFFFH and to store them in a byte array called ARY. Use string primitives.
- Develop a program segment to set the trap flag of m
- Develop a program segment for µP8086 to fill a word array ARY with 5005H.
- With suitable examples explain the LOOP and JCXZ instructions of µP8086.
- Write a note on the default stack of the microcontroller m
- Develop a program for mC8051 to multiply 05H and 1AH and to store the result in the internal RAM at an address 10H.
PART – B
Answer any FOUR. (4×7.5=30)
- With an example for each, explain the various conditional branch instructions in m
- Develop an ASM86 program to convert a two digit packed BCD number in memory to binary format and store it in memory.
- Develop an ASM program for mP8086 to find the number of lowercase alphabets in a byte array.
- With a block diagram discuss bus buffering and latching in mP8086 operated in minimum mode.
- Develop a program for mC8051 to add the contents of R0 of bank 0 and R3 of bank 1 and to store the sum in R7 of bank 3 using register mode of addressing.
PART – C
Answer any FOUR. (4×12.5=50)
- With three examples each, explain the modes of addressing of data in m
- DPX and DPY are 32-bit and 16 bit signed numbers. Develop an ASM program for mP8086 to find the product and store the result at DPZ.
- Develop an ASM program for 8086 to solve, , by defining a procedure for cube. Use register relative mode of addressing for data.
- Write a note on the DMA controller. With a neat diagram explain the events which take place during DMA transfer using BUS stealing. (4+8.5)
- With a neat block diagram of the internal architecture of mC8051, explain the role and functioning of the various modules.
Latest Govt Job & Exam Updates: