Assignment - Fall 2023
Assignment - Fall 2023
CSC-202
Fall 2023
Assignment
Due Date: January 12th, 2024
Note: Upload your handwritten work and also submit handwritten hardcopy in the class.
Question 1
Differentiate between MIN and MAX mode of 8086/8088.
Question 2
Explain the following control signals of 8086 Microprocessor?
a. INTR e. DT/R
b. NMI f. DEN
c. IO/M g. RD
d. ALE h. WR
Question 3
Draw and explain de-multiplexing of address and data bus in 8086.
Question 4
Draw internal architecture diagram of 8086 Microprocessor and define all registers.
Question 5
What is the role of 16-bits flag register in 8086 Microprocessor? List and explain each flag bits.
Question 6
List and explain 8086 addressing modes with examples.
Question 7
What is the purpose of the microprocessor in a microprocessor-based computer?
Question 8
What are Data movement instruction? Explain each type with example.
Question 9
a. List the three buses found in all computer systems.
b. Which bus transfers the memory address to the I/O device or to the memory?
c. Which control signal causes the memory to perform a read operation?
Question 10
Draw the labelled block diagram to interface four 64KB memory (RAM) with 8088 Microprocessor.
Question 11
How to expand 8259A Programmable Interrupt Controller, draw labelled diagram.
Question 12
Draw the complete block diagram of memory (RAM+ROM) interfacing with 8088 Microprocessor by using one
512KB of RAM and 64KB of ROM memory ICs.
Question 13
When 8088 Microprocessor is used in minimum mode following control signals are generated. By using the
following diagram, solve the given truth table.
Question 14
a. Write the working of the following program and trace the output, show value of each affected register after
executing the instruction in hexadecimal number.
MOV AL,01
MOV BL,01
CMP AL, BL
JE ERROR
JNE NOERROR
ERROR: MOV CX, 1A
MOV AH, 2
MOV DL, 41
107 INT 21 //107 is a line number
INC DL
LOOP 107
INT 20
NOERROR: MOV CX, 1A
MOV AH, 2
MOV DL, 5A
115 INT 21 //105 is a line number
DEC DL
LOOP 115
INT 20
b. Trace the output for the following. Write values in register after each instruction in hexadecimal number.
MOV AL, 11110100B
AND AL, 11111000B
OR AL, 11000111B
XOR AL, 00001111B
Question 15
a. Draw the labelled diagram of Single cycle CPU Implementation. Explain the its working using an example.
b. Draw the labelled diagram of Multi cycle CPU Implementation. Explain the its working using an example.
Question 16
Trace the following program and write the values of the registers after executing each instruction, all values should
be in hexadecimal. Initialize zero value in all registers when answering each part of question.
a.
Instruction AX BX CX DX
MOV AX, 09H
MOV BX, 0AH
AND AX, BX
INC AX
b.
Instruction AX BX CX DX
MOV CX, AFH
SUB CX,0AH
DEC CX
NOT DH
Question 17
a. Find the organization and chip capacity for the following memory
ii. 14 Address pins, 8 data pins
iii. 12 Address pins, 8 data pins
b. Find the capacity and # of address/data pins for the following memory chip
i. 256K × 4 SRAM
ii. 32K × 8 EPROM
Question 18
Why does MIPS have multiple instruction formats (e.g., R-type, I-type, J-type)? What is the
motivation for including each format?
Question 19
Explain the internal architecture of 8086 microprocessor with the help of a labelled diagram.
Question 20
Draw diagram of clock generator connected with 8086 microprocessor and explain the working.