Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

Shanto Mariam University of Creative Technology

Department of Computer Science and Engineering

Course Name: CSE 3135: Microprocessor and


Microcontroller
Course Code: CSE3167
Submitted to: Sayed Jamaluddin Ahmed
Submitted by: Rakibul Hasan Rakib
ID: 181071019
Batch: 17th
Semester: 7th
Date of Submission: 23th May, 2020
1. What type of architecture used in 8086 microprocessor?

Ans: A Microprocessor is an Integrated Circuit with all the functions of a CPU however, it
cannot be used stand alone since unlike a microcontroller it has no memory or peripherals.

8086 does not have a RAM or ROM inside it. However, it has internal registers for
storing intermediate and final results and interfaces with memory located outside it
through the System Bus.In case of 8086, it is a 16-bit Integer processor in a 40 pin,
Dual Inline Packaged IC.

The size of the internal registers(present within the chip) indicate how much information
the processor can operate on at a time (in this case 16-bit registers) and how it moves
data around internally within the chip, sometimes also referred to as the internal data
bus.8086 provides the programmer with 14 internal registers, each 16 bits or 2 Bytes
wide.

2. What is the function of accumulator?


Ans: An accumulator is a type of register included in a CPU. It acts as a temporary storage
location which holds an intermediate value in mathematical and logical calculations.
Intermediate results of an operation are progressively written to the accumulator, overwriting
the previous value. For example, in the operation "3 + 4 + 5," the accumulator would hold the
value 3, then the value 7, then the value 12. The benefit of an accumulator is that it does not
need to be explicitly referenced, which conserves data in the operation statement.

3. What are the different types of flags in 8086 microprocessor?

Ans: There are total 9 flags in 8086 and the flag register is divided into two types:

(a) Status Flags –


The 6 status flags are:
1. Sign Flag (S)
2. Zero Flag (Z)
3. Auxiliary Cary Flag (AC)
4. Parity Flag (P)
5. Carry Flag (CY)
6. Overflow Flag (O)

(b) Control Flags – There are 3 control flags in 8086 microprocessor and these are:
1. Directional Flag (D)
2. Interrupt Flag (I)
3. Trap Flag (T)
4. What are the types of general purpose registers in 8086?

Ans: The four general purpose registers are the AX, BX, CX, and DX registers.
1. AX - accumulator, and preferred for most operations.
2. BX - base register, typically used to hold the address of a procedure or variable.
3. CX - count register, typically used for looping.
4. DX - data register, typically used for multiplication and division.

5. What is the memory size of 8086 microprocessor?

Ans: Size − 8085 is 8-bit microprocessor, whereas 8086 is 16bit


microprocessor. Address Bus − 8085 has 16-bit address bus while 8086 has
20-bit address bus. Memory − 8085 can access up to 64Kb, whereas 8086 can
access up to 1 Mb of memory.

6. What are the various interrupts in 8086 microprocessor? Which is the highest
priority interrupt?
Ans: The different types of interrupts present in 8086 microprocessor are given by:
1. Hardware Interrupts
2. Software Interrupts
A) NMI (Non Maskable Interrupt) – It is a single pin non maskable hardware
interrupt which cannot be disabled. It is the highest priority interrupt in 8086
microprocessor.It is a hardware interrupts.

7. How many address lines are there in 8086 microprocessor?


Ans: Intel 8086 uses 20 address lines and 16 data- lines. It can directly address up to 220 = 1
Mbyte of memory.

8. Name High order / Low order Register in 8086 microprocessor?


Ans: High order Register in 8086 microprocessors are given below:

1. General Purpose Registers


2. Segment Registers
3. Pointers and Index Registers
4. Flag or Status Register

You might also like