2021BCS0002 Assignment 01
2021BCS0002 Assignment 01
Assignment 01
a. 8085
ALU (Arithmetic and Logic Unit): Performs arithmetic and logical operations on 8-bit
data fetched from the accumulator and temporary register. Accumulator: An 8-bit
register that supplies data to the ALU for operations and also stores new data.
General Purpose Registers: Six 8-bit registers (B, C, D, E, H, L) for storing data,
which can also be combined to store 16-bit data.
Flag Register: An 8-bit register that stores flags indicating conditions resulting
from ALU operations.
Temporary Register: An 8-bit register used to temporarily store data during program
execution, providing support to the ALU.
Instruction Register and Decoder: Instruction register stores fetched instructions, and
the decoder interprets these instructions to execute tasks.
Program Counter: A 16-bit register storing the memory address of the next
instruction to be executed.
Stack Pointer: A 16-bit register managing the stack, used for push and pop
operations, typically incremented or decremented by 2.
Timing and Control Unit: A combination of circuits providing clock signals and control
signals to coordinate tasks within the microprocessor and with external components.
Interrupt Control: Manages interrupts during program execution, allowing the
b) 8086
Prominent Features of 8086
The most prominent features of a 8086 microprocessor are as follows −
It has an instruction queue, which is capable of storing six instruction bytes from the
memory resulting in faster processing.
It was the first 16-bit processor having 16-bit ALU, 16-bit registers, internal data bus,
and 16-bit external data bus resulting in faster processing.
It is available in 3 versions based on the frequency of operation −
8086 → 5MHz
8086-2 → 8MHz
8086-1 → 10 MHz
It uses two stages of pipelining, i.e. Fetch Stage and Execute Stage, which
improves performance.
Fetch stage can prefetch up to 6 bytes of instructions and stores them in the queue.
b) 8255
c) 8279
d) ADC and DAC
Memory Interfacing
The 8085 microprocessor communicates with memory devices such as RAM
(Random Access Memory) and ROM (Read-Only Memory) to store and retrieve data
and instructions.
Address lines (A0-A15) of the microprocessor are connected to the address inputs of
the memory device, allowing the microprocessor to select specific memory locations.
Data lines (D0-D7) of the microprocessor are connected to the data inputs and outputs
of the memory device for data transfer.
Control signals such as Read (RD) and Write (WR) are used to control the direction of
data flow between the microprocessor and memory device.
Interfacing with 8255 (Programmable Peripheral Interface):
The 8255 is a programmable I/O (Input/Output) device that provides parallel I/O
capabilities.
It can be interfaced with the
8085 microprocessor to
extend its I/O capabilities for
connecting peripherals such as
keyboards, displays, and
sensors.
The microprocessor
communicates with the 8255
through its address and data
bus.
Control signals such as Chip Select (CS) and Read/Write (RD/WR) are used to select
the 8255 and control data transfer.
The 8279 is a Keyboard/Display controller used for interfacing keyboards and displays
with microprocessors.
It can be connected to the 8085
microprocessor to facilitate input from
keyboards and output to displays.
The microprocessor communicates with
the 8279 through its address and data bus.
Control signals such as Chip Select (CS)
and Read/Write (RD/WR) are used to
select the 8279 and control data transfer.
Interfacing with ADC (Analog-to-Digital Converter) and DAC
(Digital-to-Analog Converter):
ADCs and DACs convert analog signals to digital and digital signals to analog,
respectively, enabling the microprocessor to interface with analog devices. ADCs
convert analog signals (e.g., from sensors) into digital form for processing by the
microprocessor.
DACs convert digital signals generated by the microprocessor into analog form for
output to devices such as actuators or displays.
The microprocessor communicates with ADCs and DACs through its digital I/O ports,
often using parallel or serial communication protocols.
Control signals such as Start Conversion and Chip Select may be used to initiate and
control data transfer between the microprocessor and ADC/DAC.
4. Write notes on:
a. Instruction format in 8086
b. Interrupts in 8086
c. 8086 Bus configuration and timing d.
Basic I/O interfacing for 8086.
Hardware interrupts are initiated by external devices and are used to signal the
processor to interrupt its current execution and handle the interrupt request.
Minimum Mode
In Minimum mode, the 8086 processor operates as a standalone unit without the
presence of other processors or co-processors.
It typically interacts with memory and I/O devices directly without the need for
additional control from external devices.
Minimum mode is simpler and suitable for applications where only one processor is used,
and no external co-processors are involved.
Maximum Mode:
communication between
multiple processors and
peripherals.
The 8086 processor in Maximum mode generates the address, data, and status signals,
while the external bus controller manages the bus cycles and control signals.
Maximum mode allows for more complex system configurations, including symmetric
multiprocessing (SMP) systems where multiple processors share access to memory and
I/O devices.