Final Assessment Test (FAT) - May 2017: Course: Class NBR(S) : Slot: Time: Three Hours Max. Marks: 100
Final Assessment Test (FAT) - May 2017: Course: Class NBR(S) : Slot: Time: Three Hours Max. Marks: 100
Final Assessment Test (FAT) - May 2017: Course: Class NBR(S) : Slot: Time: Three Hours Max. Marks: 100
3. What is the content of accumulator A (in hex) and carry flag (CY) after the execution of each line in the [5]
following program segment.
SETB C
MOV A, #91
RRC A
ADDC A, #10100100B
END
4. The initial values of the memory location (06h-09h) are given below in Table [5]
Write down the final values in these locations after the execution of the following program
ORG 00H
PUSH 06H
MOV SP, #09H
POP 06H
END
5.(a) Assume T1 pin of 8051 Micro controller is programmed as counter to count the external events. Write [10]
an ALP to check the count value. If the count is reached as (10)10 then the Micro controller has to
generate a waveform of 75% duty cycle at P2.3.
OR
5.(b) Assume that pin P3.3 (INT1) is connected to a pulse generator, write an ALP in which the falling edge of [10]
the pulse will send high to P1.3, which is connected to an LED (or buzzer). In other words, the LED is
turned on and off at the same rate as the pulses are applied to INT1 pin.
Page 1 of 2
6. Write an 8051 assembly program to display “GOOD DAY” on LCD[2rows, 16 character] as shown below [10]
G O O D D A Y
7. Write a program in which the 8051 reads data from P1 and writes it to P2 continuously while giving a [10]
copy of it to the serial COM port to be transferred serially. Assume that XTAL=11.0592. Set the baud
rate at 9600.
8. The ADC804 is interfaced to the 8051 Micro controller as per the following connections [10]
P2.6=WR
P2.7 =INTR
P2.5=RD
P1.0 – P1.7= D0 - D7 of the ADC804
Draw the interface diagram and write an ALP to monitor the INTR pin and bring an analog input into
register A. Then call a hex-to ACSII conversion subroutine and store the converted result in RAM
locations starting from 40H onwards. Do this continuously.
9.(a) A switch(SW) is connected to pin P1.6. Write an 8051 C program to monitor the SW and create the [10]
following frequencies on pin P2.7. If SW=0: generate 500Hz square wave else generate square wave of
750Hz, use Timer 0, mode 1 for both the cases. Assume XTAL=11.0592 MHz.
OR
10. Illustrate various processor modes of ARM 7 with neat diagram. [10]
12. Illustrate with neat diagrams the three stages and five stages pipeline mechanisms that are [10]
incorporated in the ARM7 processor.
Page 2 of 2