0% found this document useful (0 votes)
61 views5 pages

Mic Question Paper P.A Test 2 Solution

Uploaded by

Darshan Khajbage
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)
61 views5 pages

Mic Question Paper P.A Test 2 Solution

Uploaded by

Darshan Khajbage
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
You are on page 1/ 5

MICROPROCESSOR QUESTION PAPER P.A.

TEST 2
SOLUTION
Q. 1)
A) Identify the addressing modes in following instruction.
a) MOV DS, AX b) MOV AX, [4172H]
a) MOV DS, AX: Register Addressing Mode
b) MOV AX, [4172H]: Direct Addressing Mode

B) Give four names of assembly language program development


tools.
Assembly language program development tools:
1. Editor
2. Assembler
3. Linker
4. Debugger

C) Define flowchart?
The flowchart is a graphically representation of the program
operation or task.
The specific operation or task is represented by graphical
symbol such as circle, rectangle, diagonal, square and parallelogram,
etc. given below:

Page 1|5
D) If CS = 3000 and IP = 0123 then calculate the physical address.
30000H
+
00123H
=30123H
∴Physical address = 30123H

E) Give two advantages of pipelining.


• Pipelining enables many instructions to be executed at the
same time.
• It allows execution to be done in fewer cycles.
• Speed up the execution speed of the processor.
• More efficient use of processor.

F) Give the difference between minimum mode & maximum mode.


• Minimum mode: Simpler setup for single processor systems.
Limited addressing and data capabilities (16-bit address and
data bus).
• Maximum mode: Designed for complex systems with multiple
processors and advanced memory/I/O requirements. Enables
full 20-bit addressing and data transfer through a multiplexed
bus.

Page 2|5
Q.2)
A) Explain any TWO addressing modes of 8086.

Page 3|5
B) Explain Status flag register of 8086.
The 8086 microprocessor has a 16-bit flag register, also called the
status register. It's a collection of flags that reflect the outcome of the
latest arithmetic or logical operation.
Following are the status flag registers:
1. Carry flag (CF)
2. Auxiliary Carry flag (AF)
3. Parity Flag (PF)
4. Zero Flag (ZF)
5. Sign Flag (SF)
6. Overflow flag (OF)

C) Give four salient features of 8086.


Salient features of 8086 Microprocessor:
1. Provide 20-bit address bus.
2. Provide 16-bit data bus.
3. Operating Clock Frequencies are 5Mhz, 8Mhz, and 10Mhz.
4. Operates in single processor or multiprocessor configuration.
5. Multiplex 16-bit address and data bus AD0-AD15 to minimize
number of pins.
6. Provides 256 types of Vectored interrupts.
7. Supports 24 different addressing modes.
8. Supports multiprogramming.
9. Arithmetic and logical operations can be performed on 8-bit
or 16-bit data.

Page 4|5
D) Explain DAA instruction with example.
The DAA (Decimal Adjust After Addition) instruction in the 8086
microprocessor is used for correcting binary-coded decimal (BCD) results
after addition operations.
• Packed BCD: Numbers are stored in groups of 4 bits, with each
group representing a single decimal digit (0-9).
• Regular Addition: The 8086 performs addition as binary operations.
• DAA Correction: After addition, DAA adjusts the result in the
accumulator (AL register) to ensure it represents a valid BCD
number. It checks for specific conditions (carry and lower nibble
value) and adds 6 or 0x60 to correct the result if necessary.

E) Define HLDA, LOCK, READY, INTR.


HLDA:
This is an active high output signal generated by the processor after
receiving (HOLD) signal.
LOCK:
The ~LOCK (active low) signal in the 8086 microprocessor is used for
serializing access to critical data by temporarily preventing other
processors from gaining control of the system bus.
READY:
It is an active high input signal. Use to indicate that the peripheral
devices is ready to transfer data when this pin goes high(1).
INTR:
It is an active high input signal. This pin active when the processor
consists of any interrupt requests signal.

Page 5|5

You might also like