Professional Documents
Culture Documents
18-04-2015 21:24
18-04-2015 21:24
18-04-2015 21:24
Programmed I/O data transfers are identical to read and write operations
for memories or device registers.
An example of programmed I/O is a device driver writing one data byte at
a time directly to the device's memory.
18-04-2015 21:24
18-04-2015 21:24
18-04-2015 21:24
18-04-2015 21:24
18-04-2015 21:24
10
18-04-2015 21:24
11
18-04-2015 21:24
12
18-04-2015 21:24
13
DMA Controller
18-04-2015 21:24
14
18-04-2015 21:24
15
18-04-2015 21:24
16
18-04-2015 21:24
17
18-04-2015 21:24
18
19
20
21
18-04-2015 21:24
22
23
Interrupt Structure
Interrupt is a mechanism by which the processor (CPU) is
made to transfer control from its current program execution
to another program of more importance or higher priority.
The interrupt signal may be given to the processor by any
external peripheral device.
Interrupts are in general generated by a variety of sources
either internal or external to the CPU.
Interrupts are the primary means by which Input and Output
devices obtain the services of the CPU.
18-04-2015 21:24
24
18-04-2015 21:24
25
18-04-2015 21:24
26
Types of Interrupts
Vectored and Non-vectored Interrupts
18-04-2015 21:24
27
18-04-2015 21:24
28
18-04-2015 21:24
29
18-04-2015 21:24
30
18-04-2015 21:24
31
18-04-2015 21:24
32
18-04-2015 21:24
33
Intel 8085 has the facility for both software and hardware
interrupts.
The software interrupts are in the form of instructions and
the hardware interrupts are applied as signals from the
external devices.
18-04-2015 21:24
34
35
36
Masking of Interrupts
18-04-2015 21:24
37
18-04-2015 21:24
38
39
SIM Instruction
The SIM instruction is used to mask or unmask the restart
RST hardware interrupts.
The SIM instruction when executed will read the contents of
the accumulator and based on that will mask or unmask the
interrupts.
So, SIM instruction must be executed after storing having
proper control word in accumulator.
The format of the control word to be stored in accumulator
before executing SIM instruction
18-04-2015 21:24
40
18-04-2015 21:24
41
RIM Instruction
18-04-2015 21:24
42
Timing of Interrupts
The interrupts are sensed by the processor one cycle before
the end of execution of each instruction.
An interrupt signal must be applied for the proper duration so
that it can be recognized. The longest instruction of 8085
takes 18 clock periods.
So, the interrupt signal must be applied for at least 17.5 clock
periods.
This decides the minimum pulse width for the interrupt
signals.
18-04-2015 21:24
43
18-04-2015 21:24
44
18-04-2015 21:24
45