Showing posts with label EC6504-MICROPROCESSOR AND MICROCONTROLLER. Show all posts
Showing posts with label EC6504-MICROPROCESSOR AND MICROCONTROLLER. Show all posts

Friday, October 2, 2015

EC6504-MICROPROCESSOR AND MICROCONTROLLER



1. Define microprocessor?
A microprocessor is a multipurpose, programmable, clock-driven, register –based electronic device that reads binary instructions from a storage device called memory . Accepts binary data as input and processes data according to instructions, and provides result as output.

2.  Explain  the  function  of ALE
in  the  8085
architecture?
(or)  How address
and  data lines
are
demultiplexed?





The ALE  signal  goes  high  at the
beginning of
each machine
cycle indicating the
availability of
the
address on the address bus, and the signal is used to latch the low-order address bus(A0-A7) by demultiplexing the address/data bus(AD0-AD7),which are multiplexed.

3.        What is the function of HOLD and HLDA?

HOLD- It indicates when another device is requesting the use of address and data bus(like DMA controller). HLDA(Hold Acknowledge)- It indicates that HOLD request has been received. After the removal of HOLD request the HLDA goes low.

4.  What is the purpose of READY and TRAP pins in 8085 Microprocessor?

READY- It is used to interface slow speed peripherals with microprocessor. TRAP- Vectored and non-maskable hardware interrupt.

5.        List the operations performed by IO/M in 8085.

Memory Read, Memory Write ,I/O Read, I/O Write are the operations performed by IO/M in 8085.

6.        Differentiate between Memory mapped I/O and I/O mapped I/O.


S.NO
Memory mapped I/O
I/O mapped I/O
1.
It is treated as memory location
It is not treated as memory location
2.
No special instructions are needed to access
It  requires  special  instructions  like IN,
the I/O devices
OUT to access I/O devices
3.
Microprocessor   can   access   1  MByte
Microprocessor  can  access  64  KByte
memory locations or I/O ports
memory locations or I/O ports
4.
It requires 20 address lines
It requires 16 address lines
5.
MEMR,  MEMW  signals  can  be  used to
IOR , IOW signals are used
access I/O devices
6.
It is suitable for small system
It is suitable for large system