0% found this document useful (0 votes)
55 views1 page

8086 Microprocessor Assignment Guide

The document contains 3 assignments related to microprocessors and microcontrollers. Assignment 1 discusses the 8086 microprocessor including its block diagram, register organization, physical memory organization, and interrupts. Assignment 2 covers the 8086 instruction format and addressing modes, macros vs procedures, and branching/call instructions. Assignment 3 focuses on support chips including the 8255 PPI, 8259 PIC, ADC, DAC, and 8251 USART.

Uploaded by

Ayush
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
55 views1 page

8086 Microprocessor Assignment Guide

The document contains 3 assignments related to microprocessors and microcontrollers. Assignment 1 discusses the 8086 microprocessor including its block diagram, register organization, physical memory organization, and interrupts. Assignment 2 covers the 8086 instruction format and addressing modes, macros vs procedures, and branching/call instructions. Assignment 3 focuses on support chips including the 8255 PPI, 8259 PIC, ADC, DAC, and 8251 USART.

Uploaded by

Ayush
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Microprocessor and Microcontroller

Assignment – 1
1. Define microprocessor with block diagram of 8086.
2. Write a note on the register organization of 8086 microprocessor.
3. Discuss the physical memory organization of 8086.
4. Explain various types of interrupts available in 8086 microprocessor.
5. What is memory segmentation? What is the importance of it? Explain with respect to
8086.

Assignment – 2
1. Describe the instruction format of 8086.
2. Explain various addressing modes used in 8086.
3. What do you understand by macros? Differentiate between macros and procedures.
4. Explain various types of instructions in 8086 with five examples of each.
5. What are branching and call instructions?

Assignment – 3
1. Explain 8255 PPI with its block diagram.
2. Explain various modes of operations of 8255 PPI.
3. What is 8259 PIC? Explain its advantages and disadvantages.
4. Explain ADC and DAC with suitable diagram.
5. Explain 8251 USART architectures and working.

Common questions

Powered by AI

The 8086 microprocessor has a versatile register organization that includes general-purpose, segment, pointer, and index registers. General-purpose registers (AX, BX, CX, DX) are used for arithmetic, logic, and data transfer operations. Segment registers (CS, DS, ES, SS) hold the segment base addresses, facilitating the segmented memory model. Pointer and index registers (SP, BP, SI, DI) assist in referencing memory locations for stack operations and data manipulation . This organization allows efficient instruction execution by providing quick access to operands and supporting multiple data manipulations simultaneously .

Physical memory organization in the 8086 microprocessor is based on the concept of memory segmentation. The entire memory available (1 MB) is divided into segments of 64 KB each, with four main segments: code segment, data segment, stack segment, and extra segment. Each segment is addressed with a 16-bit segment address and a 16-bit offset, allowing for more flexible and efficient memory access . Memory segmentation is crucial as it enables the 8086 to access more memory than what a 16-bit address alone would allow, providing a mechanism for logical organization of programs .

Analog-to-Digital Converters (ADC) transform analog signals into digital values that the 8086 microprocessor can process. They sample voltage levels and convert these into binary numbers. Digital-to-Analog Converters (DAC) do the opposite, converting digital signals from the microprocessor into analog voltages. These converters are essential for interfacing with physical environments, as they bridge the digital computations of the microprocessor with real-world analog input and output devices, such as sensors and actuators, enabling automation and control in applications like robotics and instrumentation .

The 8251 USART (Universal Synchronous/Asynchronous Receiver/Transmitter) serves as an interface between the microprocessor and peripheral devices. It serializes parallel data from the CPU for synchronous or asynchronous transmission and de-serializes incoming data for processing. The USART can operate with various baud rates and data formats, allowing flexibility for different communication protocols. It includes control and status registers for configuration and monitoring of data transmission activities, playing a crucial role in enabling effective serial communication in microprocessor systems .

In 8086 assembly, macros and procedures serve different purposes. A macro is a pre-defined sequence of instructions that the assembler expands directly in the code each time it is called, which can increase code size but enhances execution speed due to inlining . Procedures, on the other hand, are blocks of code that are called with a CALL instruction and return with a RET instruction, which usually results in slower execution due to call overhead but keeps the code size smaller and more modular . The choice between the two depends on the specific needs for performance and memory efficiency in a program .

The 8255 PPI contains a control register, and three 8-bit ports (Port A, Port B, Port C) which can be configured in different operational modes via the control word. Mode 0 allows simple input/output operations. Mode 1 supports input/output operations with handshaking for peripheral devices that require synchronized data exchange. Mode 2 is specifically used for bidirectional data transfer on Port A, enabling communication between devices. This flexible architecture makes 8255 suitable for interfacing with a variety of peripheral devices in different data handling configurations .

In the 8086 microprocessor, interrupts provide a mechanism to interrupt normal execution flow to attend to high-priority tasks by invoking specific routines. There are hardware and software interrupts. Hardware interrupts are triggered by external hardware signals, while software interrupts are invoked by the INT instruction . There are 256 types, vectored from predefined vector locations in memory. Key types include maskable interrupts, used in systems that allow the user to ignore them; non-maskable interrupts, which cannot be ignored and are used for critical situations; and exception interrupts, for events like divide errors .

The 8086 microprocessor supports several addressing modes that enhance program flexibility, including immediate, direct, register, register indirect, based, indexed, and based-indexed with displacement modes. Immediate addressing provides immediate value to the operation. Direct addressing specifies the memory address directly. Register addressing uses values directly in registers. Register indirect addressing accesses memory via a register pointer. Based and indexed modes add offsets to base or index registers, while based-indexed with displacement combines base, index, and offset, providing complex memory referencing capabilities that enhance coding flexibility and efficiency .

The 8259 PIC provides prioritized interrupt handling for the 8086 microprocessor, allowing efficient management of multiple interrupt sources. Advantages include the ability to expand the number of interrupt inputs, programmable priority levels, and automatic interrupt vectoring, which reduces the need for additional software handling and increases system efficiency . Disadvantages include added complexity and cost of the hardware setup, and its requirement for careful configuration to avoid conflicts or mismanagement of interrupt priorities .

The instruction format in the 8086 microprocessor dictates how operations are encoded in machine language. Each instruction includes an opcode, which specifies the operation to perform, and may include operands, which specify the data to be operated on. The design supports different types of instructions like data transfer, arithmetic, logic, control transfer etc., through variable-length instruction encoding, which allows flexibility and a wide range of command specifications. This design maximizes the efficiency and capabilities of the microprocessor .

You might also like