0% found this document useful (0 votes)
54 views12 pages

Course Name:: EE 3541: Introduction To Microprocessors

This document appears to be a homework assignment for an Introduction to Microprocessors course. The assignment contains 4 questions: 1) It asks the student to identify the four main building blocks of a microprocessor system. 2) It asks if the 8088 microprocessor is 8-bit or 16-bit. 3) It asks the student to mention the address capability of the 8086 microprocessor and show its memory map. 4) It asks the student to describe the memory segmentation scheme of the 8086 microprocessor.

Uploaded by

aa
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)
54 views12 pages

Course Name:: EE 3541: Introduction To Microprocessors

This document appears to be a homework assignment for an Introduction to Microprocessors course. The assignment contains 4 questions: 1) It asks the student to identify the four main building blocks of a microprocessor system. 2) It asks if the 8088 microprocessor is 8-bit or 16-bit. 3) It asks the student to mention the address capability of the 8086 microprocessor and show its memory map. 4) It asks the student to describe the memory segmentation scheme of the 8086 microprocessor.

Uploaded by

aa
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/ 12

Prince Satta,11 bin Abdulaziz University

College of Engineering ~yt-114- 0-1 rl.b...i J'!'°~I


Electrical Engineering Department ~-4!14l5'
EE3541 Introduction to Microprocessors i:!i-11~~--u..:...l:!"{11.,..~ 4~~IL.4J1~
~_µ, ..:i~~, J 4,o..l,Q,o _A.5'3541
Pr n:e Sattalf\ 8,n ..tbcLVnl"l U.1!\-tU~ll

Course Name:

EE 3541: Introduction to Microprocessors

Homework No. (1):

Microprocessor Evolution and Architecture

Academic Year 1440H/1441H -2019G/2020G

Student Name
Group No.

ID No.
First Term

Teaching
Assistant/Lecturer Notes Total I
.

10
Eng.: Instructor Name:
Prof. Fayez F. M. EI-Sousy

Signature
Signature

l:b _cf
-
1- 12
/
/
/

--,
'i J
Answer the Following Questions:
. _L~'1:! .~.re .the four build!1.~g_.~. ~qc,~~of amiCf(?£1"~.~essor SYl!~.m? .......... .
--·---·.L-.,.\\p.l,...L.J~~1 if _..._ - ............ _. ___ . - . ... ___ . --· -............ _ _ __ _ __
__ __..7_~ . . a.(At.. r-2l,\. L .llitLt.- . . -. . . . . ..------·--·- . . . . . .-..... ._______ . . ._. _. . . _ . ______.. _ ·- . . . ..
12- P\ )C r:o -FI .>C.e5l 1n,1 \,\~11 f

- .... _. _._4_. ..._l1L~n1.. D.L.j-_ . .\Lllt1..1_ . ....... .... - -....... - ...--....-.. --.- . ............. _ _ __ .._ __

_
.............................. . ...... ......................... - ...... ............ - -- - - - - -.......·-··· _. _.. ___ ....... ...

. . . ..........-....- ............-.. ..... ... ........ .................... - - - .....- ... ... -.... _______ ....................... __ .. .................- ....

2 . ls the 8088 an 8-bit or a16-bit microprocessor?


_________ ___ .. _
........................................................... ............................. _____ ........................... ••····· ...... - _..._...... - ..... ..

·····-·· ............ - ........ ............................... .-..................... ____ ....... _. .......- ......._... __ ...................... ..

- -- · -- - - - - - - - ..........................._..... - -
.......................... ................ ...... - -- - - - - - - ... ............................- . ..- -...............
__________ _
.......

. ....... - ..... - .... .....................

3. Mention the address capability of 8086 and also show its memory map .
______ _ _ ___ ____ _ .. ....- _____________
-.......... ... _. ..

\'t \\c,$ ; c _\ ,-l . d.lY.i~). . _h."'-l...-~J...... UA"' C"-6d Y SI loy . J:L..ll\E- - -


A C"

l1 s c~:" c\"'c• it \ 6.. _..hlo.c.~-.. I .{,.2.~ .... .. .Q .Q.OQ....o...---±..o......... _


fs=~-~. . i: £=c_.._ _ .._
________ - - .... .. ....... ---

......... - .... - . -·-. -· ................................... .. _ ____ . . . ....- ....- - - ----

-1~ - - == --
~.....-.....;

_............- - - - - - - -- - -
=. .. .. .. . .... .. .. ...

...........................................- - -............_.................... _.._ - ------------- ...... .. -


-i - - - t ......- • - ·....-

-
-----t . -.. -·- .
1.- - ..

_____
r oooo'rl
_. ·--- .....---··...
---· ...........- .. .

. ·--- - - ---------

I~ 2.. 12
I
I
't
4. Describe memory segmentation scheme of 8086.

={ite____)_~_ZJ:_____,()} .. -.~06.{_c~L -.k!JA.C i \ 2.o_Jq;. V\.~d __ j -· ~ ~Le .i ..-{.Lc\J.(L§ .::1._ . _j _t

--·--111K_,...m. ±.k.X'. J/21 I:?.-· Co-.. 6-&----•-"-Ui. LJ-1..d_._ 1±.o-l 6__s.~-0v!'.1.e .e.~.dc_.JJ).~.
1'.\. ___ lfj___ _

_____(4J__R.___ . ---· ·-- ... - . ------ - - - -- - - - - - -·--··-··-··----···------- ---------


------·-- .. ·--·---- - · - - · - - - - - - - - - - - - - - ·-·----------·--·-· ---·- · -

· -- - - ··- ·---·· ·-·-··---·-···-··----------·-·········-----···------·· ······--···-·-· ------- ·- .. •··-

------------··-· - ... ··---· . -----·-··· -···-·-·····--··-----·--······-·-···-··-·······-·-------·---········ .. ·--·-·-·----

5. Name the two processing units of the 8088 microprocessor.

--.-B..~~- ~~-~i J~,.f ..._\~,1;_t _...(JI._1.l,,-_+1_____


_ - _fi£Lh±t-0-~ -·-- ~h.1-t -C:-Ll!) --···- ·-·------ -·-·---····-·-•·-· ••---- ··--· ------·---·--- -·---
·---··--·-- --

6. Which processing unit for the 8088 microprocessor is the interface to the outside world?

Eii c;

- - - - - - - - - - - - - - - - - - - ······-··-·-·---········-- - - - - - - - - - - -

7. What are the length of the 8086' s address bus and data bus?

'l o -\- , t G"- (.\c\ e') ~-- - YJ --·) --·---·----······------------- -


--\ G \)_d __ o°'\>___ "1 v-.-.Ls_ _ _ _ _ _ _ _ _ ·--··--·-······--···--------

- - - - - - - - · · ·- .. ·-·-· .. --------·------····-··-·-·· · - - - - - - - - - - - - · - - - - --

----- .. ·--- .. _, ___ - ----··-··--·--····---···· -·------ - - - - · · ·····------·-- -

.. ----······--·. -· -· . --···· ····----··-· --·---·--·-·-· ·--- ..... ··----·-··---- - - - - -

--------· - - - - - · - - - - · - - - · - - - - - - - - --

3- 12
8. List the elements of the execution unit.

-·-·-- s .1~. h,~--l..~d. . _.Luvil Y.J.L _u!,L"J-1-- - . . . . .. ..


___:._ ____ G, {_k!\__,'._' f..e_L __µ_\cl:_P,,~-"-- . .Yt~s.1 < 1, ---- ---·-···-- __ -----·- ··--···

-~e..~..p.o..'Lfil'i _____ QJk .¥~.t.J.. .. l .e'4.0 J . .£c_ ______.____________ - - - - - - - - -

9. What is the purpose of a software model for a microprocessor?


_ 4...LCL--.h. ._-t~G- G\..D..f::'..~ 11>-j·- - ~ :j--C._..9-YJ_~-~ -b.1.·_'1. 'l (C
- - s--r1,,q ..1. Y0_1)x 1_c._e.12_~~. ~. ·-· . s.. . .Ll _ldru_c _.... .<-,~ p.1t;,...l:..L~.i..L ---·------·· --·--·· .......... ... ...

- -- ... - - --· -- . ------··-··- ----·•------ -••·-- ·- --- .. ·-----·-------------- -------·--·-· - - - - - -- . '.

- - - -- .............. .........· - · · · - - - - - - - - - --
I 0. How many registers are located within the 8088 microprocessor?

--- _ _______
..

11 . How large is the 8088 ' s memory address space?


- - - -- - - - - - - - --

_ j &fl_ . --- ---··


- - - - ·--- . ----- - - -- ·-·· - ---- - -- - -

12. Is the mem01y in the 8088 microprocessor organized as byte, word or doubleword?

------ -- -- - -- --

4-12
L
ti EP

- - ... -- ... ------ - -- --- - ·--

13 • Which of the 8088 's internal registers are used for memory segmentation?

--- ------------·- -·----·· ···-- -- ........ -·····--···· - -- - - -- - - -· --···--··--···-····---

- - - -- - · - - - -·--•· - - ·-· . ........... -·· ··········· - - - - - -- - - -··-·-·-·- ····-----


-·· •-·-· •·

14. What register defines the beginning of the current code segment in memory?

cs
···-·-·····---

- -- - · -·-··············· · · · - -- - - -- - -- - -- - - - - --

- - -- - - - - -- - - - - · ·- ···-·······--···-·····- - - - - - -- - - - - - --

15 . What is the function of the instruction pointer register?


- -- - - -- ---- - ----·-------··-···--- ·-
~ - baId > }le_ _0.(ld (f.l_.. _o.\. ... +h ~- .J'lc'Kl _ _J__ k~_fr_u:_..:L..~t- - --

- -- - - --· - · -- - --
------------····- . ..- - - · - - -- - --···-·--- --
.- - -- · - · - ··- - -- -

-···--··-·-·-·---------~- ----- ------- -


---·- ----~------ ---- - ------ ---··
--------- -------·--
- - - - - - · ---· ---· ·- ------- ----
-- ------· ---·-·

I~ 5-12
I
L
~6 - What happens to the value m IP each time 8088 ,mcroprocessor completes an "''
instruction
/
---·--------·

l 7 . Make a list of the general purpose registers?

. - -- -··---- - ---- - ----------- - ·

_I~What kind of infonnaJi"'!i~e<l_Ul_tl1_<:j>ointer and incl<:]{_registers1__ ~ - - - --


-·----------------------·-----·---------- --------- -- -- - - ----

----------- -

-· · ----------- ---
- -- -·- --- ------- ----------- --- -
------ - - - - ---- -

--------·- .... --
.-i:_ 1
-- ----- --
6 - 12
21. What do SI and DI stand for?

--·- ·· ···- ~o-',J.'1._0e_i V\J e.x. ..... --·-·------· - -·-· --····--·-··---·· - - · --·- -· . . ·----- - - -
- -----· _.c\..es.l-i 1-1"' Ii ~.J\ .._..il-'.d..e.-r __ ·- . . -.. ·-..---·-···-----·--·-·---.. ···-· - - ·--·--· _. __._

22 . What is the difference between SI and DI?

_ ___,SJ ~o v fe~,A·--·-· --··--------··-·--- ... -·· . _··-··---·----· .... .. ··-·•-·-•-·•--·-·- . -··-· .. ·-


___l) \ _j_~ -~'1 \1 1J C ·····-·- -··-·-· .

- - - · -- - - - - - -- -- - - ............ ...........- .. ... - - -- ·- -- ----

23 . Describe the function of each status flag .

I'> I\ c;;_vv;;;i _ _ _ _ __ _ _ _ __ _ _

4 ;I
- - ~ - - - - -- - - - - - - - - -. ..........- ..- .. ____
2\ - 1 1 t <-" ( es,. I_r _]5 _a ! ( J _ _ __ __ _ _ _ _ __ _

-- .........- - · - · - · - - - - -

7. 12
24. What does TF stand for?

-···---· ------

25 . What is the word length of the 8088 ' s physical address?

Z:tr;,.>-c~
- -2J--=-~.1:~s- - - - -·-- · -· -·- ·---·---···-·•··········-···-·············· · -· · ·-···-·-· · · · -· · ·-·-·

26. What two address elements are combined to fonn physical address?

27. Discuss logical address, base segment address and physical address .

8- 12
I
I
I 7
Y- '1
I 28. Describe how the 20-bit physical address is generated.

- __J1_\_L)lc~-S~--~ r. 1,1.J -.W J. \J~ ------::111J'LJ_a,.r.t..J_jli_~_. c~ -?".l•_l<l.e 1


- --- 1- '1Q_J1.e_____ Q~\.'.2.eL_c1-chLLes2-______________ --· -· --·-· ---·----- ----

29. The cany flag bit is set by what arithmetic operations?

- - - - - - - - - - - - ------- - - - ---- -- - ----------·----

30. Calculate the value of each of the physical addresses that follows . Assume all numbers
are hexadecimal numbers.
(a) 1000: 1234
(b) 0100:ABCD
(c) A200 : 12CF
(d) B2C0:FA12

r, 1, lu kd d " r UL.ll:-B.13f-t0,'--"-'-H_ _ _ _ _____ _ _ _


- -- - - - - - · -- -·--- --- - - - - - - - - - - - - - - - -

- - ---
c\J g 2 c. ~-.ll~-1.ul. -r J A1_1
- - -- - - - - - - - ---··-·· - -- -----···--·---·--- - - --
-- C'L61 '1- __ _ _ _ _ _ _ _ _ _ _ _ _ __

- - -- - - - - - - - · - -- - - - -·-- ... - - -- - - · - - - - - ·•-• • - - - - - - -·----

- - - - -- - - - - -- - -

9-12
31 . Find the unknown value for eacl f . '::...r..:
numbers are he xa, decm,a
· 1numbers. 1 0 th e followmg physical address. Assume all
(a) A000:? ==Ao 123
(b) ?:14DA==235DA
(c) D765 :? ==DABCO
(d) ?:CD2 1==32D2 1

· - - -------------
------

(J) l I- J t UI 1

--------------
32. Find the memory address of the next instruction executed by the microprocessor, when
operated in the real mode, for the folJowing CS:IP combinations:
(a) CS = J 000H and IP = 2000H
(b) CS = 2000H and IP = IO00H
(c) CS = 2300H and JP = IA00H
(d) CS = JA00H and IP = B000H
(e) CS = 3456H and IP = ABCDH

--------
- _ q-) __u.K__h .± T L l.2.!...-b H
_ b) _,, _____::_ 1, _ :;,... ·1.1 L c i 11
_ _() 1, r IL _ .. • 24-tLt:i.9 ___ _l·l _
-- -- - -
c.\ ) ,, /, _:_J_~~ o_c _!::I _ . _
Q._) f r, _ _>SJ l _\j .. __

I 0- 12
I
't
- - - - - - - - -----· --- - -

33 . The stack memo1y is addressed by a combination of the 5 l·o- cl(, segment plus
)tc1ic \:; offset.

---- ----

- - - - -- - ----- - - - - - - -- - - -- - -- - - - - - -
34. If the base pointer (BP) addresses memmy, the St li- C: \C segment contains the data.
---·------- ---- - - - -- -

- - - - - ----- - - - - - - -- - - - - - -
---

---------------- - - - - - -- - - - - - -
35 . What is the function of the stack?

,t '"c_.. (I'. (,'\Ye(J, e; { \\l£r_"l _Ll-3--1,.0_t d ___So.L---1f~ ~- ~ D'\ f 1


•.l.-t.Ll ~LA-b c 11

D \'.J e p0~ >e d _D:i. Su.L~ -L.~L, ?. - -------·--- -···-- - - -- - - -

- -- - - - -- - - - - - - - - - - - - - - - · -- - - -
--------------- -- - - - - · - -
--------•·-----·- - - - . --·---- ---- - -- - - - - - - - --
- - - -- - - - - - - - - - - ----- ---- - -- - - - - - -

1_: 11 - 12
36. Dete1mine the memmy location addressed by the following 8086/8088 register
combinations:
(a) DS = I000H and DI =2000H
(b) OS = 2000H and SI = l 002H
(c) SS = 2300H and BP =3200H
(d) DS =A000H and BX = I000H
(e) SS =2900H and SP = 3A00H

J Q.>_Xl(,)._.U)J _ _ :-:__ \Loot."' \-\..__.__ . . ... ... . ..... --- --·-·--·--.. ··-- -· · · ....... ----·----- ·- ·
\r)) f)~..1'.Jl2.. J .).__J___1..\_oo2. JL ··--· ..........._. - - --------·· --------····-·---
---W~xJ.o_1_.QJ1_ jJ.J. o.o._ \:1 _-· ·---··--- -·---·- . _ _ _...... _·-- - -
___l)_.\)'.)."'"_1:9__~11..__ ~.1.o~o -L\ ______ .___ ._ ____ ...........................
e:>) ~\ \ \ C> t-\i) ·1C Aoo \\

12-12

You might also like