You are on page 1of 4

1. What are the different addressing modes of 8051 8 bit Microcontroller?

Explain with at least two


examples of each type.
2. What is memory segmentation of 8086? How 16 bit data can be transferred from memory to 16
bit bas starting from odd address memory bank.

Segmentation * It is the process in which the main memory of computer is divided into different
segments and each segment has its own base address.
* Segmentation is used to increase the execution speed of computer system so that processor
can able to fetch and execute the data from memory easily and fastly.
The four segment registers are
CS (Code Segment register)
DS (Data Segment register)
SS (Stack Segment register)
ES (Extra Segment register
CS (Code Segment):
Code segment (CS) is a 16-bit register that is used for addressing memory location in the code segment of
the memory (64Kb), where the executable program is stored. CS register cannot be changed directly. The
CS register is automatically updated during far jump, far call and far return instructions.
Stack segment (SS)
Stack Segment (SS) is a 16-bit register that used for addressing stack segment of the memory (64kb) where
stack data is stored. SS register can be changed directly using POP instruction.
Data segment (DS)
Data Segment (DS) is a 16-bit register that points the data segment of the memory (64kb) where the
program data is stored. DS register can be changed directly using POP and LDS instructions.
Extra segment (ES):
Extra Segment (ES) is a 16-bit register that also points the data segment of the memory (64kb) where the
program data is stored. ES register can be changed directly using POP and LES instructions.
3. Describe the function of EU and BIU of 8086 with suitable diagram

BIU
Sends out addresses for memory locations
Fetches Instructions from memory
Reads/Writes data to memory
Sends out addresses for I/O ports
Reads/Writes data to Input/Output ports

EU
Tells BIU (addresses) where to fetch instructions or data
Decodes & Executes instructions
Dividing the work between BIU & EU speeds up processing

4. Design a circuit in which 6216 RAM is connected with 8085 Microprocessor with necessary
explanation and circuit.

SHORT
5. Calculate the physical address of memory for 8086 microprocessor when
DS=3456H and IP=3000H.
6456H
6. What is the vector location of NMI for 8086 and which pin signal is used to
interrupt the CPU?
Edge triggered. Activated with a positive edge (0 to 1) transition
00008H

Write the name of interrupt for 8086 from lower priority wise.
Maskable interrupts, Non-Maskable interrupts.
i) An interrupt that can be turned off by the programmer is known as Maskable
interrupt.
ii) An interrupt which can be never be turned off (ie.disabled) by the programmer
is known as Non-Maskable interrupt.
Draw the flow diagram of Base Indexed addressing with an example for 8086
microprocessor.