0. Questions

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

Microprocessor & Assembly Language

Questions

8086-
1.Write down the features of 8086.
2.Write down the difference between 8085 & 8086.
3.Describe the internal architecture (EU, BIU) of 8086.
4.What is a segment register? Explain the different types of segment registers used in 8086.
5.What is segmentation? Write down the advantages of memory segmentation.
6.Describe the general-purpose register used in 8086.
7.Describe Index Register and Pointer Register used in 8086.
8.What is a flag register? Explain the flag register used in 8086.
9.If register AL = 7FH and instruction ADD AL, 1 is executed then the following are happening
and related math of flag registers.
10. Differentiate among Logical, Offset and Physical Address.
How Logical address translate into physical address? Give an example.
11. Why SP and BP are 16-bit register?

8086 Addressing Modes-


12. What is addressing mode? Describe different types of addressing modes used in 8086.

8086 Pin Diagram-


13. Write down the functions of various status pin used in 8086.
14. What is the function of MX/MN pin in 8086?

8086 Timing Diagram/Bus Cycle-


15. What is read cycle? Explain the 8086 read cycle. (Read Timing Diagram)
16. What is write cycle? Explain the 8086 write cycle. (Write Timing Diagram)

Microprocessor Evolutions-
17. What is microprocessor? Write down the functions of microprocessor.
18. Write down the differences between microprocessor and CPU.
19. Describe the features of each generations of microprocessor.
Or, Describe the features of 4-bit, 8-bit, 16-bit, 32-bit, 64-bit microprocessor.
Or, Explain the evolution of microprocessor.
20. Write down the differences between accumulator based and register based
microprocessor.
21. Write short note on- (i) Bit Slice Processor; (ii) Accumulator Based Processor; (iii)
Register Based Processor.
22. What is micro controller? Write down the differences between micro controller and
microprocessor.
23. Write down the differences between RISC and CISC processor.
Interrupt-
24. What is interrupt? Write down the importance of interrupt.
25. Differences between- (i) Hardware & Software Interrupt
(ii) Maskable & Non-maskable Interrupt (INTR & NMI)
26. Describe dedicated interrupt used in 8086.
27. Write down the differences between interrupt & procedure.
28. What is PIC? Write down the function of PIC?
29. Draw the block diagram of 8259A and describe its block diagram.

Co-Processor-
30. What is co-processor? Write down the function of co-processor.
31. Describe math co-processor 8087 with its appropriate block diagram.

Instruction Format-
32. What is instruction format? Write down different types of instruction format used in 8086
with examples.

Memory Bank-
33. What is memory bank? How data is read by the followings-
(i) 8-bit data from even address bank.
(ii) 8-bit data from odd address bank.
(iii) 16-bit data from even address bank.
(iv) 16-bit data from odd address bank.

DMA-
34. What is DMA and DMA Cntroller? How DMA operations are performs?

Main Memory Array Design-


35. Design a 8KX8 RAM using 2KX8 RAM chips.

80286, 80386, 80486, 80586(Pentium)-


36. Explain 80286, 80386, 80486, 80586(Pentium) with its appropriate block diagram.
37. Write down the important features of 80286, 80386, 80486, 80586.

Assembly Language (AL)-


38. What is AL? Write down the advantages of using AL.
39. What is macro? Write an assembly language program to display a string 5 times using macro.
40. Write down the differences between macro and procedure.
41. What do you mean by assembler? Write two names of assemblers.
42. Compare among compiler and interpreter and assembler.
43. What is AL statement? Describe an AL statement.
44. Write an Assembly Language Program to-
(i) Determine whether a number is odd or even.
(ii) Display all alphabetic characters.
(iii) Convert lower case to upper case or vice versa.
(iv) Display factorial of an integer number.
45. What is procedure?
What is NEAR and FAR procedure?
Explain what happens after the CALL and RET instructions in relation with procedure.
46. Write down the differences between assembler, liknker and loader.

Namzul Sir

(Updating…)

Nazmul Sir

1 Write down some important features of 8, 16,32 bit microprocessor.


2 Explain BIU and EU of 8086 microprocessor with block diagram.
3 Distinguish between accumulator-based and register-based microprocessor.
What are the advantages of assembly language in comparison with high level
4
language?
5 Draw the internal architecture of 8086 and explain the functional units of it.
What is microprocessor? Write some important features of each generation of
6
microprocessor.
What is microcontroller? Write down the differences between microcontroller and
7
microprocessor.
8 Describe different types of addressing mode used in 8086.
9 Discuss the condition flags of 8086.
What physical address is represented by-
10
(i) 3A23:CD45H (ii) FB6A:53D6H (iii) 5462:2DIEH (iv) 46AB:3FFCI
11 Describe the general architecture of a microcomputer system.
12 Write the difference between Intel 8086 processor and Intel Pentium.
13 Differentiate between RISC and CISC microprocessor.
14 What is flag register? Describe 8086 flag register.
15 Discuss briefly 80286 microprocessors with figure.
16 Write down the key properties of semiconductor memory.

17 How does SDRAM differ from ordinary DRAM?


18 Define hardware and software interrupts. Distinguish between hardware and software interrupt.
19 Discuss the main features of CISC processor.
Ex Explain memory write cycle by timing diagram.
20

21 What is interrupt? Describe the different types of interrupts.


What do you mean by addressing mode? Explain indirect and register addressing mode with
22
example.
Draw and explain the internal architecture of Intel Pentium processor.
23

24 Describe the function of I, D and O flag register.


Write the 8086-assembly statement which will perform following operations: --
25 ( i) Load the number 7986 H into BP register.
( ii) Copy the contents of AX register into DX register.
Differentiate between instruction MOV CX, 5437 H and MOV CX,
26 [5437 H]

27 Write the difference between Intel 8086 processor and Intel Pentium.
28 What do you know about maskable and non-maskable interrupt?
29 Describe 8259A interrupt controller with block diagram.
Write an assembly language program to display all English alphabets.
30 Or
Write an assembly language program to calculate the factorial of a positive integer number.
Write an assembly language program to display all English alphabets.
Source Code:
main proc
mov cx,26
mov ah,02h
mov dl,'A'

L1:
int 21h
inc dl
loop L1

mov ah,4ch
int 21h
main endp
end main
Input/output:
ABCDEFGHIJKLMNOPQRSTUVWXYZ

Write an assembly language program to calculate the factorial of a positive integer number.
Source Code:
MOV AL, 00H
MOV SI, 500H
MOV [SI], AL
ADD SI, 01H
ADD AL, 01H
MOV [SI], AL
MOV CX, [0000H]
SUB CX, 0002H
L1:
MOV AL, [SI-1]
ADD AL, [SI]
ADD SI, 01H
MOV [SI], AL
LOOP L1
HLT
END

Aim: -Write a program to generate Fibonacci Sequence.


Tool requirement: emulator8086-assembler and microprocessor
emulator 4.08

Flowchart:

Code:
; Program to find Fibonacci Series
MOV AL, 00H
MOV SI, 500H
MOV [SI], AL
ADD SI, 01H
ADD AL, 01H
MOV [SI], AL
MOV CX, [0000H

Aim: -Write a program to generate Fibonacci Sequence.


Tool requirement: emulator8086-assembler and microprocessor
emulator 4.08

Flowchart:

Code:
; Program to find Fibonacci Series
MOV AL, 00H
MOV SI, 500H
MOV [SI], AL
ADD SI, 01H
ADD AL, 01H
MOV [SI], AL
MOV CX, [0000
Algorithm
Divide & Conquer Method-
1. Maximum & Minimum (09-01-23)
2. Merge Sort (16-01-23)
3. Bubble Sort (30-01-23)
4. Quick Sort (30-01-23)
5. Knapsack Algorithm (06-02-23)
6. Prim’s Algorithm (13-03-23)
7. Single Source Shortest Path (21-03-23)
8. 8 Queens Problem (27-03-23)

You might also like