Sie sind auf Seite 1von 7

ID.No./Seat No.

MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY,


JAMSHORO.
FIRST TERM FINAL YEAR (7TH TERM) B.E.(ELECTRICAL)
REGULAR EXAMINATION 2012 OF 09-BATCH.
MICROPROCESSOR SYSTEMS
Dated: 26-05-2012.
Time Allowed: 03 Hours.
Max.Marks-80.
NOTE. ATTEMPT ANY FIVE QUESTIONS.
SKETCH NEAT DIAGRAMS/WAVEFORMS WHERE EVER NECESSARY
Q.No.

Marks

01.

What are the basic units of Microprocessor?. Describe the internal architecture of
MOTOROLLA 6800 microprocessor along with address bus, data bus and control bus.
Also compare the Compatibility of 6800 with 6502 as well.

[16]

(a)

What is the use of the flags in microprocessor? and how the flags are affected? With the
help of examples define all the flags of 8088 p.

[08]

(b)

256 bytes of data are stored at memory location starting from 2000 to 20FF. Show the
Program that will copy the given 256 bytes of data and save at the memory location
Starting from 3000 to 30FF (8085 p)

[08]

(a)

With the help of necessary diagrams discuss the concept of fetch, read and write cycle
of microprocessor.

[05]

(b)

Calculate time-delay to execute instruction MVI A, 06h @ f = 2 MHz & f = 3.125 MHz

[05]

(c)

Write a program to add two 16-bit numbers 20FAH and 3F1CH, and store the result in
20AC H memory location (8085p).

[06]

04.

Explain in detail, how the grouping of instructions has been done for 8085 p. Explain
any three instructions from each grouping with examples, while indicating the values of
registers before and after each execution.

[16]

05.

What is ADDRESSING MODE of a microprocessor? With the help of examples discuss


any Four of the following:.
[16]
(i)
Direct Addressing mode
...................................8085 P
(ii)
Register In-direct Addressing mode... 8085 P
(iii)
Accumulator Addressing mode ................................... 6502 P
(iv)
Extended Addressing mode
.....................................6800 P
(v)
Absolute Addressing mode
.....................................6502 P
(vi) Stack pointer Addressing mode 6502 P
(vii) Port Addressing mode
..8088 P

02.

03.

Contd on P/-2

(-2-)

06 (a) What is PLC? Draw and describe its basic structure and various modes of operation. Give
advantages of PLCs over magnetic contactor .

[08]

(b) How the analogue inputs are interfaced with microprocessor? With the help of circuit diagram [08]
discuss the digital to analogue ( A/ D ) interfacing.

07. (a) What is pipelining process of 8086-8088 Microprocessor? How 20-bit Address is obtained by using
the segment registers?
[08]
(b) What is Micro Controller? Explain how Micro Controller are used in domestic appliances? Also
draw simplified structure.
[08]

08.

The traffic signal lights on a main road show green for 20 seconds , yellow for 30 seconds
and red for 48 seconds. Bits 0 , 1 and 2 of port 4 are control inputs to peripheral equipment,
that runs these traffic lights . write a program that produces a time delay of 20, 30 and 48
Seconds for the traffic lights.

----------------THE END-----------------

[16]

ID.No./Seat No.
MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY,
JAMSHORO.
FIRST TERM FINAL YEAR (7TH TERM) B.E.(ELECTRICAL) REGULAR
EXAMINATION 2011 OF 08-BATCH.
MICROPROCESSOR SYSTEMS
Dated: 28-05-2011.
Time Allowed: 03 Hours.
Max.Marks-80.
NOTE: 1. ATTEMPT ANY FIVE QUESTIONS.
2. Copies of Intel 8085 & MC6800 Instruction Set are provided with the question paper.
Q.No.
01.

Describe briefly all of the following:


(Advice:- Do not spend more than 30 minutes on solving this question)
a) Fetch-Decode-Execute
b) What is the application of 8-bit microprocessor
c) Which block in the microcomputer would be considered the control unit/
d) If the address on address bus were 0010 0000 1000 1101, what memory location
(hexadecimal number) would be assessed by the microprocessor?
e) What is the maximum memory in kilobytes that can be accessed by 16 address lines?
g) List four primary tasks of CPU of microcomputer.
h) What is the purpose of Program Counter, Stack Pointer & Index Register in the
microprocessor?
i)
Enumerate at least five things that a typical microprocessor data sheet contains.
j) What is the standard format for writing an Assembly Language Program?
k) How many address inputs does a 4K ROM need to decode 4096 separate memory
locations?
l) Define Interfacing.
m) The letter RAM stands for what type of computer memory? How many types of RAM
are there? Define each.
n) Which interface adapter is used to interface 8080/8085 microprocessors with the
peripheral devices?
o) What type tree interconnections or data paths are there in microprocessor-based
system? Define each.
p) List five status indicators in the flag register of 8085 microprocessor.
q) What does the MPU do when the interrupt line is activated by the keyboard interface
circuit?

02 (a) Draw the internal functional block diagrams of the Z80, and Intel 8085 P.
(b) Explain the functions of the following pins of 8085 microprocessor.
1. HLDA
2. X1, X2
3. SOD
4. AD0-AD7 5. ALE
6. INTR
03.

Explain in detail, how the grouping of instructions has been done for the 8085 P.
Explain any four instructions from each grouping with examples while indicating the
values of registers before and after each execution.

Cont d on P/-2.

(-2-)
04 .

A microcomputer is designed to monitor various (conveyer belts) on the floor of


manufacturing plant, presented schematically in figure. The microcomputer has two input
ports with the addresses F1H and F2H, and an output port with the address F3H. Input
port F1H has six switches, five of which (corresponding to data lines D4 D0) control the
conveyer belts through the output port F3H. Switch S7, corresponding to the data line D7,
is reserved to indicate an emergency on the floor. As a precautionary measure, input port
F2H is controlled by the Electrical Engineer and its switch, S7 is also used to indicate an
Emergency. Output line D6 of port F3H is connected to emergency alarm.

Write a program to develop the flow chart and assembly to


1. Turn on five conveyer belts according to the ON / OFF positions of switches S4 S0 at
port F1H.
2. Turn off the conveyer belts and turn on the emergency alarm only when both switches
S 7 & S7 from port F1H and from port F2H are triggered.
3. Monitor the switches continuously.

Emergency alarm

05 (a) Translate the given sequence of instructions in machine code.


START:

DELAY:
SECOND:
LOOP:

LXI
MVI
OUT
MVI
CALL
MVI
OUT
MVI
CALL
MVI
OUT
MVI
CALL
JMP
PUSH
PUSH
LXI
DCX
MOV
ORA

SP, XX99
A, 41H
PORT #
B, 0FH
DELAY
A, 84H
PORT #
B, 05H
DELAY
A, 90H
PORT #
B, 14H
DELAY
START
D
PSW
D
D
A, D
E

JNZ
DCR
JNZ
POP
POP
RET

LOOP
B
SECOND
PSW
D
Contd on P/-3..
(-3-)

05 (b) Describe in detail various flags in 6502 P.


06 (a) Write down the Pin description of any Four of following:
(i) INTA (8085p) (ii) DBE (6800 p) (iii) SO (6502 p) (iv) LOCK (8088p)
(v) RI / GTI (8088p) (vi) VMA (6800 p)
(b) How does a microprocessor know what operation to perform first (READ / WRITE
memory or READ / WRITE I/O)? And how does the micro processor differentiate b/w
positive number and negative number or bit pattern?
(c) Write a program to add four numbers 30, 48, 68 and 61; which are stored at different
memory locations. The memory locations are 2005, 2030, 2045 and 2065. Store the sum
of these numbers at memory locations 2095 and 2096 (6800 P).
07 (a) What is an interrupt. With the help of interrupt vector table describe the operation of
various interrupts in 8085 P.
(b) With the help of timing diagram discuss the concept of interfacing the MPU with RAM
during READ condition.
08.

Write detailed notes on any THREE of the following


(a)

68HC11 Microcontroller

(b)

P L C system

(c)

Seven Segment Display

(d)

Buffers and Three-state Devices

(e)

Extended Addressing mode of 6800 P.

------------------THE END-----------------

ID.No./Seat No.

MEHRAN UNIVERSITY OF ENGINEERING AND TECHNOLOGY,


JAMSHORO.
FIRST TERM FINAL YEAR (7TH TERM) B.E.(ELECTRICAL) REGULAR
EXAMINATION 2010 OF 07-BATCH.
MICROPROCESSOR SYSTEMS
Dated: 29-05-2010.
Time Allowed: 03 Hours.
Max.Marks-80.
NOTE. ATTEMPT ANY FIVE QUESTIONS. DRAW NEAT AND CLEAN DIAGRAMS
IF NEEDED. USE GRAPH PAPERS FOR TIMING DIAGRAMS.
Q.No.
01.

Marks
Describe the major components of Microprocessor system. Discuss the internal [16]
architecture of INTELL 8085 microprocessor and also describe all types of
registers along with flags in the status register. Also compare the Compatibility
of 8085 with 8080 as well.

02 (a) Specify the register contents and flag status (S, Z, CY) after the instruction ORA A is
executed in Intel 8085 P.
[08]
MVI A, B9H
MVI B, 47H
ADD B
ORA A
(b) Explain why demultiplexing is done for bus AD7 AD0 in 8085 P.
03

[08]

What is the use of ADDRESSING MODE in any microprocessor and why these are
important for microprocessor? With the help of examples discuss the following. [16]
(i) Direct addressing mod
................................................................... 8085 p
(ii) Zero-page Addressing mode of .............................................................. 6502 p
(iii) Relative Addressing mode .......................................................................6800 p
(iv) Absolute Addressing mode
........................................................... 6502 p

04 (a) Define an Interrupt. What are the address lines for hardware and software
interrupts?
(b) What is SIM and RIM instructions? With the help of flow-chart explain the
operation of these instructions.

[08]
[08]

05 (a) With the help of timing diagram discuss the concept of fetch, read and write cycle of
p.
[05]
(b) How the microprocessor know what operation to perform first (READ/WRITE
memory or READ/WRITE I /O)? and how does the microprocessor differentiate b/w
positive number Negative number or bit pattern?
[06]
(c) Write a program to add four numbers. The numbers are 23, 26 , 34 and 48 in memory
location 5015, 5025 and 5050 and 5070 respectively. Store the sum of four numbers
at memory location 5095 and 5096 for 6800p.
[05]
06 (a) What is PLC?
[04]
(b) Draw the functional block-diagram of PLC system hardware.
[06]
(c) Describe memory structure and various modes of operation of PLC system.
[06]
Contd on P/-2

(-2-)

07

What do you mean by Microcontroller Explain the essential features of Intel 8051,
and Motorola M68HC11 microcontroller. Give prototype applications in Washing
machines.
[16]

08 (a) A Railway crossing signal has two flashing lights run by a microcontroller. One light is
Connected to data bit D1, and the second light is connected to data bit D2. Write a
program in assembly to turn each signal light alternately ON an OFF at the interval of
1 second, if system frequency is 2 MHz.
[10]
(b) A microcomputer is designed to control various appliances in your house; the system
has Output port # 03H and various units are connected to bits D7 to D0 as shown in
figure-01. For a cool morning you want to turn ON the Radio, the Coffeepot and
electric oven. Write appropriate instruction for micro-controller (8085p) .
[06]

Figure 01

----------------------THE END--------------------

Das könnte Ihnen auch gefallen