Professional Documents
Culture Documents
com
5'09: 6 AN: CP425/EL415/425/435/EC405 11460)
Group A
(TurnOver)
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929, 9897394020
1
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
(c) Explain the following instructions of 8051 micro- (i) Distinguish between OV (overtlow) tlag and CF
controller : 3x2 (carry) flag.
(i I DJNZ Ro, HERE (if) List the advantages of interrupt 110 compared to
(ii) CJNZ@ R, :i data, rei polled I/0.
(iii} SWAP A
(ru} Find out the locations reserved in th~ interrupt
6. (a ) Explain the use of following bits ot' the TMOD regi vector table of a 8086 based system forINT -10.
ster:·{i) Gate, and (ii) C ti · 2 J< :<
S'09:6FN.CP425/BL415/425/435/EC405(1460) { 3 ) (TurnOver)
S"09:6FN:CP42SIEL4151425/43S/EC405(1460) I 2 J !Continued)
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929, 9897394020
2
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929, 9897394020
3
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
Group A
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929
4
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929
5
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929
6
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, IInd FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929 Web: www.amiestudycircle.com
7
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
4. (a) Write an assembly language program using 8085 8. (a ) List and explain the logical group of instructions
instructions to cummulatively add eight 8 bit binary of 8051 microcontroller with examples. 5
unsigned numbers, stored in eight consecutive me- (b) Writeadelayprogram usingthreeregistersof8051
mory locations. Also, explain the instructions. 10 microcontroller. 5
(b) What are different segments of memory with (c) Explain, with necessary diagrams, how a 4-
which 8086 can work? List the advantages of winding stepper motor can be interfaced and rota-
segmented memory? How is physical address ted in steps. Assume norma14-step sequence data
determined from an offset address? 5+5 as 09H, OCH, 06H and 03H, respectively. 10
GroupB Groupe
5. Draw and explain the formats ofTMOD, TCON, SCON, 9. Answer the following: 10x2
IE and IP registers of 8051 microcontroller. 5x4 ( i) In which mode you can connect more II 0 devi-
6. (a) Draw the memory map for the 128 byte internal ces: (a)Memorymapped, (b)Simplel/0.
RAM of 8051 microcontroller. 10 ( ii) In 8085, how many machine cycles will a CALL
( b ) Explain the functions of ports Pt, P 1, P2 of 80 51 instruction take ?
microcontroller. How can Pt be used as both output (iii) What is the result of the instruction XRA A ?
and input ports ? 10
(iv) How many programmable timers are there in
7. Explain the following instructions of 8051 microcontro- 8051?
ller: lOx 2
( v) How can you initialize accumulator and carry
( i) DJNZ R2, THERE
as zero in 8085 microprocessor by two ins-
(ii) CJNE A, DIRECT, REL tructions?
S'lO: 6AN: CP425/EL415/425/435/ S'lO: 6AN:CP425/EL415/425/435/
EC405(1460) ( 2 ) ( Continued) EC405(1460) ( 3 ) (Turn Over)
AMIE(I) STUDY CIRCLE, IInd FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929 Web: www.amiestudycircle.com
8
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, IInd FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929 Web: www.amiestudycircle.com
9
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
Group A
AMIE(I) STUDY CIRCLE, IInd FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929 Web: www.amiestudycircle.com
10
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
(c) Write the values of carry flag for the following (b) Explain the following instructions of 8051 micro-
instructions : (i) RLC, (ii) RAL, (iii) RRL and controllers : (i) INCA, (iif INC add, (iii) ADD
(iv) RAR. 4x2 @ RP, (iv) ADD CA, # n, (v) MOL AB. 5x2
(c) List the signals used by 8155 in handshake mode of 8. (a) Explain the serial communication in mode 1 :
data transfer. 2 UART mode of 8051. 10
4. (a) Explain the interfacing of keyboard with 8085 (b) Explain how data is stored and retrieved in 8051
8 using cell and stack instructions. 10
using 8255 PPI.
Group C
(b) Differentiate between assembler, editor and file. 4
9. Answer the following : 10 X 2
(c) Illustrate and explain the transmitter and receiver
section of 8251 A. 8 (i) Convert 0011 1100 into hexadecimal.
5. (a) Detail the contents of a PSW program status word (iii) If a iegistei B has 11 H and accumulatoi has
8 97H, substract the contents of B from the
register of 8051.
contents of accumulator.
(b) Explain the function ofTCON and TMOD special (iv) Explain how a microprocessor differentiates
function registers of 8051. 8 between positive and negative numbers.
(c) List the interrupts of8051 and their priority. 4 ( v) Explain what the following program do :
Memory Address Machine Code
6. (a) Write a program to double the number in register 2040 CD CALL 2020H
R 1 and store the result in R2 and R3. The 2041 70
microcontroller used is 8051. 10 2042 20
2043 NEXT INSTRUCTION
AMIE(I) STUDY CIRCLE, IInd FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929 Web: www.amiestudycircle.com
11
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, IInd FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARANCHAL) EMAIL: pcourses@hotmail.com Ph: (01332) 266328, 9412903929 Web: www.amiestudycircle.com
12
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
~roup A
(Turn Over)
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
13
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
(c) Distinguish between volatile and non-volatile S. (a) Draw and discuss the internal architecture of
memory. 2 8051 microcontroller. 12
3. (a) Explain the following addressing modes with (b) Discuss the formats of PSW register of 8051
suitable examples : 4 x2 microcontroller. 8
{i) Direct addressing mode 6. (a) Five bytes are stored at external data RAM
(ii) Register indirect addressing mode from address 1OOOH. Store these data in in-
(iii) Immediate addressing mode ternal RAM from starting address 30H. 8
(iv) Indirect addressing mode ,, .
(b) Explain the following pins of 8051 micro-
(b) Explain the operation of following instructions controller with an example : 8
with suitable examples : 4
(i) TXD, (ii) RXD, (iii) PSEN, (iv) EA
. {i) SOD, (ii) S 1 and S0, (iii) READY, (iv) SID
(c) Describe the data storage scheme in a stack
(c) Discuss the following modes of DMA transfer structure in 8051 microcontroller. 4
with a suitable example : 4x2
7. (a) Explain the TMOD and TCON registers of
(i) Signal transfer mode 8051 microcontroller. 8
(ii) Block transfer mode
(iii) Demand transfer mode (b) Write a program to generate a square wave of
(iv) Memory-to-memory transfer mode frequency 2 kHz through port P 1. 0 by timer 0
of8051 microcontroller. 8
4. (a) Interface IC 8255 to microprocessor 8085 with
port A address 98H and write a program in BSR (c) Explain the difference between forward jump
mode to generate 100 pulses at the rate of and backward jump. 4
200 Hz and duty cycle 40%. 10
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
14
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
(c) Explain the interrupt vector table of 8051 (i) Assume accumulator contents are AA(H)
microcontroller. 6 and CY = 0. Illustrate the accumulator
contents after·. the execution of RLC
Groupe instruction twice.
9. (A) Choose most appropriate answer and suggest the (ii) Distinguish between SIM and RIM instruc-
correct answer if options are not given for tion. ·
the following questions : 8x l
(iii) Load F2(H) directly in memory location
(i) When a subroutine is called, the address of the 8000H using indirect addressing.
instruction following the CALL instruction
is stored on the--. (iv) List four categories of 8085 instructions that
(a) stack pointer. (b) accumulator. (c) program manipulate data.
counter. (d) stack.
(v) Load the accumulator A with data byte
(ii) Time required to complete the execution of an 82(H) and save the data in register B.
instruction is defined 'as--.
(a) machine cycle· (b) instruction cycle (c) T (vi) List the name of analog-to-digital converters
state. and digital-to-analog converters.
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
15
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
Maximum Marks : I 00
Group A
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
16
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
17
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
S'12:6AN:CP425/EL415/425/435/EC405 (1460)
MICROPROCESSORS AND MICROCONTROLLERS
Time : Three hours
Maximum Marks : 100
Answer FIVE questions, taking ANY TWO from Group A,
ANY TWO from Group B and ALL from Group C.
Group A
(Turn Over)
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
18
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
(b) Discuss how DMA controller can work with 8085 (b) Explain the following SFRs of 8051 microcon-
microprocessor. Draw a suitable diagram to explain troller: (i) TMOD, (ii) TCON, (iii) IE, (iv) SCON.
the whole operation. Assume transfer of data is 4x2
occurring from memory to an I/0 device. 5 +3+2 7. (a) Write a 8051 based delay program using four
bank ~ registers. · 6
4. (a) Draw the functional diagram of8253 programmable
counter timer. Discuss its different modes of opera- (b) Write a program to generate a square wave of
tion. Also, discuss its control word. 10 50 Hz through port P 1.2 by timer 1 of 8051 micro-
controller. 8
(b) How can a rectangular wave be generated by 8085
microprocessor without using any interfacing (c) Draw and expl~in the internal RAM (from OOH
device? Explain with the help of a program. Use to 7FH) of8051 microcontroller. ' 6
delay program written with the help ofHLpair. 4
8. (a) Write four instructions for each data transfer group,
(c) Draw a diagram consisting ofanADC, 8255APPI arithmetic group, logical group and branch group. 4 x 4
ports, 8085 microprocessor, and sample and hold
chip LF 398. Explain the operation how an analog (b) Explain the interrupt vector table of 8051 con-
data is converted into a digital byte. 6 troller. 4
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
19
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
20
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
Group A
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
21
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
3. (a) Draw the internal architecture of 8255 program-- 8. (a) Explain the operation of the following instructions
mable peripheral interface chip in a block diagram of8051 microcontroller: (i) SWAP A, (ii) MOV
forrnandexplain. 10 A@Rl' (iii)MOVxA@Rl' (iv)DJNZR0 TABLE,
(v) SETB Pl.3. 5x2
(b) Explain how the microprocessor identify the activa-
ted key in a matrix hex keyboard and generates the (b) Name jive interrupt sources of8051 microcontroller
corresponding hex code of the activated key using and specify their respective vector address and
the row scanning method. 10 their priority level after reset. Also, explain how the
interrupts can be enabled or disabled. 10
4. (a) Name and explain the different addressing modes
supported by 8085 instruction with an example. 10 Group C
(b) Write an assembly level program using 8085 instruc-
9. Answer the following in brief: 10 X 2
tions to add an array of unsigned binary numbers.
The array length is specified in memory location
1002 h. The array starts from 1003 h. Save the (i) State a single instruction of 8085 microprocessor
results in locations 1000 hand l 001 h. 10 which can give a left shift to the content ofH-L pair
register.
GroupB
(ii) Differentiate between memory mapped 110 and
5. (a) Draw the internal architecture of8051 microcontro- I/0 mapped I/0.
ller in a block diagram form and explain the func-
tion of each block. 12 (iii) List the main functions of the BIU(Bus Interface
Unit) of8086 processor.
(b) Explain the memory map of the internal128 byte
RAM ofthe 8051 microcontroller. 8 (iv) Why is it not possible to use JUMP address instruc-
tion to call a subroutine program ?
6. (a) N arne the alternate use of pins of port 3 of the mi-
crocontroller 8051. 8 (v) How many programmable interrupt controller
(8259) ICs are required to provide interrupt
(b) List and explain different modes of operation of the request input to 58 different devices? State the num-
timer of8051 microcontroller. 12 ber ofmaster 8259 and slave 8259 required.
7. (a) List the programming steps needed to receive data (vi) How manyregisterbanks are therein 8051 internal
serially using 8051 microcontroller and explain. 10 RAM ? How to select the desired bank?
(b) Write an assembly language program using 8051 (vii) In 8051 microcontroller, the crystal oscillator fre-
microcontroller instructions to generate a square quency is 11.0592 MHz. Find the machine cycle
wave at port 1, pin 0 (i.e., P 1.0). The frequency of
frequency.
the generated square wave is to be 1 kHz. 10
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
22
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
23
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
Group A
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
24
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
3. (a) Discuss the internal functional block diagram of (b) Explain TMOD and TCON control words of8051
8253 programmable counter timer and explain its microcontroller. 10
control word also. I0
8. (a) Discuss the uses of pins of port 3 of the 8051
(b) Explain, with a proper diagram and assembly langu- microcontroller. 8
age program, how analog-to-digital conversion
operation can be implemented with the help of8085 (b) Name the interrupt sources of8051 microcontro-
microprocessor using asynchronous mode of data ller and specify .their respective vector addresses
transfer and 8255 programmable peripheral inter- and priority levels after reset. Also, explain how the
face chip and anADC chip. 10 interrupts can be enabled or disabled. 10
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
25
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
26
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
Group A
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
27
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
3. (a) Explain the functioning of8251 US ART with a neat (ii) XCHDA, @RO
hJ eck diagram and the control words. 10
(iii) MOV C, P3.1
(b) Writ~ an assembly language program to interface. (iv) SWAP A
8255 to an LED and a switch. Ifthe switch is on, the
LED should blink, otherwise the LED should be off. 10 (v) RR A
4. (a) Write short notes on 'assemblers' and 'emulators'. 2+3 (b) An array of 10 numbers is stored in the internal data
RAM starting from location 30 H. Write an assembly
(b) Give the interface diagram of connecting an 8 bit language program to move the array starting from
DAC to the microprocessor (8085). Write an location 40 H. 10
assembly language program to generate a square
, \'/ave. 11\
<V
8. (a) Discuss the interrupt sources of 8051, their vector
locations and different control bits used to control all
(c) Explain the operation ofthe following instructions : 5 X 1 th~ interrupts. 10
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
28
AMIE Study Material & Admission Packages AMIE(I) Study Circle, Roorkee www.amiestudycircle.com
AMIE(I) STUDY CIRCLE, SECOND FLOOR, SULTAN TOWER, ROORKEE - 247667 (UTTARAKHAND) EMAIL: pcourses@hotmail.com Ph: (01332) 266328 Web: www.amiestudycircle.com
29
You may download prospectus to buy excellent study
material for AMIE exams.