Microprocessors Midterm Exam2021 (Solution)
Microprocessors Midterm Exam2021 (Solution)
Al-AZHAR UNIVERSITY-GAZA
Microprocessors and
Date: 16-NOV, 2021
Computer Interfacing Course Code: ITCC 3301
Duration: 60 Minutes Instructor: Dr. Mohammad Aqel
Midterm Exam_Solution
First Semester 2021/2022
:الرقم الجامعي :إسم الطالب
(49 points) Problem1
a) (24 pt.) State whether the following statements are True or False, then Correct the false one:
2. ( F ) Pentium III requires 6 banks of memory with two bytes wide for each bank. (8 banks)
3. ( F ) An address bus must be 26 bits wide to access 256 Tera bytes of memory capacity.(48 bits)
4. ( F ) A 32-bits wide memory component that has 42 address lines will contain 1GB. (16TB)
5. ( F ) If an operand has physical address C13650h, the logical address will be C130:0650. (C1950h)
6. ( F ) The exact width required of address bus connected to 2Kx8 memory device is 12 bits. (11bit)
b) (25 pt.) Fill the blanks in the following, and then explain how you get the result:
1. In order to access 512 GB of memory capacity, an address bus must be 39 bits wide.
2. If a 2KB block of memory begins at 4C300h; what is the address of the last byte? _4CAFF____ h
4C300h + 7FFH
3. A 32-bits wide memory component that has 28 address lines will contain 1GB bytes.
4*228 = 4 * 256MB = 1GB
4. If the last byte of an x86 segment is at physical address 2FFFFh, the first byte is at: 20000 h
2FFFFh - FFFFh = 20000 h
5. If ES:0088h and DS:0288h are at the same physical address, and DS = 0610h, ES = 630 h
0610h * 16 + 0288h = ES*16+0088h ES=( 06388 h -0088 h)/16 = 0630h
1/2
(51 points) Problem2
a) (10 pt.) Differentiate between the following processors:
1. Core 2 Solo and Core Due
b) (21 pt.) Given the start/ base addresses of memory blocks, Calculate the size (in bytes) of all
memory blocks in the following memory map.
07000000 H
Block 2
05800000 H
Block 1
01650000 H
Block 0
00500000 H
c) (20 pt.) SP=1F54, AX=2255, BX=24B7, SI=C285, and DX= 5233, show the contents of the stack as
each instruction is executed:
PUSH BX
PUSH AX
POP DX
POP DX
SS:1F50
SS:1F51
SS:1F52
SS:1F53
SS:1F54
SS:1F55
SS:1F56
SS:1F57
SS:1F58
Good Luck!
2/2