: .



03-01-10, 01:12 AM
,,

:D



Basic Computer Organization and Design



:D


:


: :D

Computer System Architecture by Morris Mano
:D

,,
:

Computer System Architecture by Morris Mano





:

ch5

Basic Computer Organization and Design



-------


(instructoin)

binary code



http://www.almlf.com/get-1-2010-almlf_com_1jmqapkv.JPG



* :
1- fetch instruction
2- decode instruction
3-
fetch operand .
4- execute .
,,
ch 5 .

,,

instruction format
16
http://www.almlf.com/get-1-2010-almlf_com_yt6p2awy.JPG
direct : .
Indirect :
:D

http://www.almlf.com/get-1-2010-almlf_com_7uxkwwl2.JPG

( ).

03-01-10, 06:01 PM
...

||
03-01-10, 06:18 PM

:D


03-01-10, 07:21 PM
,,
eng. s!lence ,, :D .

the hope
03-01-10, 08:41 PM





=)
:)
,
..

~

04-01-10, 10:59 AM


...

Mr.Computer
04-01-10, 04:31 PM


:D

.. :rolleyes:

04-01-10, 05:53 PM
:D
:]

,,
,,



* :
1- fetch instruction
2- decode instruction
3-
fetch operand .
4- execute .

Registers
Registers
*IR instruction Register 16 Bit



1- fetch instruction
2- decode instruction
*DR Data Register 16 Bit
( )

3-
fetch operand .
*AR address Register 12 Bit
,,
.
* PC Program Counter 12Bit
( ).
* AC Accumlolotor 16Bit
ALU
*TR Temp Register 16Bit

*INP Register 8Bit

*Out Register 8Bit


,,
( ) .
,,
Registers .

System Common Bus
:]
http://www.almlf.com/get-1-2010-almlf_com_van4homf.JPG
,,
bus
bus .

~{First One}~
04-01-10, 08:49 PM
... .

NASSAYIM
05-01-10, 01:10 AM


.. - -
!

05-01-10, 01:18 AM

..

05-01-10, 03:47 PM

05-01-10, 05:23 PM
~{First One}~ ,,
NASSAYIM




.. - -
!

!

,,

.
05-01-10, 06:27 PM
masm



05-01-10, 08:44 PM

!

,,

.
...

..


cs224-Computer Organization
.

:
Logic and Computer Design Fundamentals

8
digital system
combinational logic circuts
combinational logic design
arithmetic function
Sequential Circuit
Registers and counters
Memory Basics






cs220-Computer Organization
and Assembly Language

:
*Computer System Architecture
*Assembly Language Programming
and Organization IBM Pc

:
http://www.iuccsi.com/class.php?id=164

MGBUR A7Bk
06-01-10, 12:26 AM


.....

06-01-10, 01:29 AM
^^


Computer Organization
,,



Computer Organization


, :D

.
,,
-----------------



.....

MGBUR A7Bk
06-01-10, 01:55 AM
http://mohandes.net/eng/asm/






...

compaq
06-01-10, 04:35 PM
..

07-01-10, 02:12 PM
:D
scan
167
5-3
5-4
168
5-6
5-9
5-10
5-11
:D

07-01-10, 04:35 PM
..


Computer Systems Architecture - A Networking Approach,

..

07-01-10, 05:24 PM
:D

o
08-01-10, 12:32 AM
http://vb.algfx.com/Users/Alixa/Images/Salam-1.png

.. http://vb.algfx.com/Users/Alixa/Images/ALGFX-ALIXA-008Y.gif

..

Segment Offset ..

.. http://vb.algfx.com/Users/Alixa/Images/up/rolleyes-0.gif

http://vb.algfx.com/Users/Alixa/Images/ALGFX-ALIXA-009Y.gif

08-01-10, 12:53 AM


Assembly asm4 asm5






08-01-10, 02:04 PM
..

..

Segment Offset ..

..
,,



Assembly asm4 asm5








,,

08-01-10, 02:50 PM
,,
90%

167
5-3
,,
http://www.almlf.com/get-1-2010-almlf_com_nm7p0ejj.JPG

http://www.almlf.com/get-1-2010-almlf_com_van4homf.JPG

s0,s1,s2
LD =

Memory
Adder
:
http://www.almlf.com/get-1-2010-almlf_com_dq4zyzwe.JPG
:
http://www.almlf.com/get-1-2010-almlf_com_dq4zyzwe.JPG

:D

08-01-10, 03:04 PM

08-01-10, 03:05 PM


167
5-4
http://www.almlf.com/get-1-2010-almlf_com_owhd1ajn.JPG
:
http://www.almlf.com/get-1-2010-almlf_com_ltq6sxrv.JPG
:
http://www.almlf.com/get-1-2010-almlf_com_ltq6sxrv.JPG

08-01-10, 03:08 PM

,, .

o
09-01-10, 06:39 AM
.. http://vb.algfx.com/Users/Alixa/Images/ALGFX-ALIXA-008Y.gif

.. http://vb.algfx.com/Users/Alixa/Images/ALGFX-0398.gif

..

MGBUR A7Bk
09-01-10, 03:58 PM
<< :D:D:D


.. :cool:

10-01-10, 05:43 PM
.. ...

10-01-10, 10:37 PM



10-01-10, 11:52 PM
,,
,,
:(,,

11-01-10, 12:21 AM
..

>>>

,,


:

((

))

,,

...

11-01-10, 04:20 PM
,, 4 ,, ,,

,,,

,,,

12-01-10, 08:15 PM
,,

,.... 5 4 .

12-01-10, 08:40 PM
,,

,, .. : )

/

,,

,, [URL="http://www.4shared.com/file/195257858/eba9bbd2/chapter4.html"] (http://www.4shared.com/file/195257858/eba9bbd2/chapter4.html)

Haifa Mohammed
12-01-10, 09:34 PM
..

:(

nawarah
13-01-10, 10:00 AM

13-01-10, 01:50 PM



Don DaVinci
15-01-10, 03:39 PM
..
. .. ..


.. :(

16-01-10, 02:11 PM
...

..

..

:)

18-01-10, 02:12 PM
,,, :smile12:

,,,

18-01-10, 05:03 PM
..
. .. ..


..
,, 5 :D

,,,

,,,
,, ..

18-01-10, 05:05 PM
.,,

,, 3\9

18-01-10, 05:09 PM
.,,

,, 3\9
,, 5 ..! ..

18-01-10, 05:12 PM
5 6 7

Memory Organization_7
6_Central Processing Unit CPU
5_Basic Computer Organization and Design




18-01-10, 05:13 PM
RTL ????

18-01-10, 05:15 PM

18-01-10, 05:16 PM
,, ...

18-01-10, 05:17 PM
4 5 6 7 ,,, ,, .

19-01-10, 01:21 AM
...

..

..

19-01-10, 05:58 PM
:(






:(

..

Don DaVinci
19-01-10, 06:08 PM

:D

5

Haifa Mohammed
20-01-10, 12:36 PM
5 :D

20-01-10, 03:59 PM
:
Chapter 5 of the ****book: Computer System Architecture, M. Mano
5-3, 5-4, 5-6, 5-9, 5-10, 5-11, 5-12, 5-15, 5-16, 5-17, 5-18

Haifa Mohammed
20-01-10, 05:17 PM
:D

20-01-10, 05:32 PM
5 6 7

Memory Organization_7
6_Central Processing Unit CPU
5_Basic Computer Organization and Design




,,,,

Memory Organization_7 --

6_Central Processing Unit CPU --- ,,

Haifa Mohammed
20-01-10, 05:40 PM
http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/06/c0uopv7qc.jpg

1

http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/06/4jn3jupga.jpg

2

http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/06/d1mb7r5fc.jpg

3

http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/06/km88ejmjk.jpg

4

http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/06/i0adudnh4.jpg

5

::

:D

20-01-10, 07:00 PM
5-1
:]
256 32 bit
64
:
a- bit Reg I
bit 256 2
: 256= 8^2,,, bit 10^2 < ( 512 2^9 )
18^2 18 bit .
bit 64=6^2
bit I 1 bit

18 bit for address , 6 for Reg , 1 bit for i
,,,
b-

bit i Reg
opcode
: :D
32 bit
18 bit + 6 + 1 i =25
32-25=7
7 bit for opcode :]
:
http://www.almlf.com/get-1-2010-almlf_com_3yfoqaz0.JPG
c-
bit :D ( )
32 bit for data
18 bit for address

Haifa Mohammed
20-01-10, 07:33 PM


O_o

http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/08/rqgjg94d4.png

20-01-10, 07:39 PM
^^
,,
,,

20-01-10, 07:45 PM
..

,,

Haifa Mohammed
20-01-10, 07:46 PM
:D

::


20-01-10, 07:48 PM
^^^^^^








<<< ...

.....




20-01-10, 08:40 PM
... ..

...

dream91h
21-01-10, 01:09 AM

...
.... ..
...
... ...
...

21-01-10, 05:00 PM
bit 10^2

: bit bit : 10^2 ?

bit data

...

22-01-10, 12:21 PM
...

...

22-01-10, 12:30 PM
: bit bit : 10^2 ?

bit data

...

,,

10^2 kB 256

kB = 2^10 B

MB=2^20 B

GB=2^30 B

256= 8^2 * 10^2
*

,,

22-01-10, 01:00 PM


,, ,,

Black duck
22-01-10, 03:32 PM




Haifa Mohammed
22-01-10, 03:32 PM
6-5




133 21

http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/08/rqgjg94d4.png

:

( Memory - reference* )
( register -reference )

( I/O - reference )

132 20





a- 0001 000 0010 0100



0001







1 ADD


000 0010 0100 = 024
1
1024



:$

::

:(


Haifa Mohammed
22-01-10, 03:38 PM


http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/22/04/ta3jtg76l.png

Haifa Mohammed
22-01-10, 03:39 PM





:D

Haifa Mohammed
22-01-10, 05:46 PM
6-5






14A3



0001




^_^

22-01-10, 06:54 PM
ݿ



...

..

..

..

..

:(

..

Haifa Mohammed
22-01-10, 07:02 PM
ݿ



...

..

..

..

..

:(

..


:D

:(


Black duck
22-01-10, 07:38 PM
:D

address bas

Haifa Mohammed
22-01-10, 07:55 PM
black 34 34

<< :d

instruction cycle :(

Black duck
22-01-10, 07:56 PM
:d

22-01-10, 07:57 PM
>>> :)

Black duck
22-01-10, 07:58 PM
instruction cycle

Black duck
22-01-10, 08:00 PM
:(

Haifa Mohammed
22-01-10, 08:03 PM
Black

5 :D

instruction cycle 26 34



:D

Black duck
22-01-10, 08:04 PM
RTL

22-01-10, 10:01 PM
RTL




:D:D
:smile13:

22-01-10, 10:03 PM





Haifa Mohammed
22-01-10, 10:38 PM






7 18 :D

5 34

Haifa Mohammed
22-01-10, 11:07 PM
9-5

:(

23-01-10, 07:31 PM
arithmetic shif

.... ........


23-01-10, 07:44 PM
:(

5 27 ..

!!

Haifa Mohammed
23-01-10, 08:50 PM
9-5



Ac pc E



http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/20/08/rqgjg94d4.png

CLA 11





http://up4.m5zn.com/9bjndthcm6y53q1w0kvpz47xgs82rf/2010/1/23/09/47ddz70hf.png

CLA

Description
Ac Ac

E 1
IR 7800
ER 7

pc Pc
= 021 = 022



::


:D

::

11 12 << !:D

Haifa Mohammed
23-01-10, 09:00 PM
arithmetic shif

.... ........




arithmetic shif













01111111



00111111

:D

23-01-10, 09:14 PM
arithmetic shif













01111111



00111111

:D
=
+A

11000111

11100011
ǿ

Haifa Mohammed
23-01-10, 09:20 PM
:D

^_^

23-01-10, 09:22 PM

23-01-10, 10:38 PM
11000111

11100011
ǿ

:
01100011

0 !

23-01-10, 11:12 PM
:
01100011

0 !

logical
arithmetic shift R

: arithmetic shift R
01100011
00110001

11001111
11100111

23-01-10, 11:13 PM
arithmetic shift

0 LOGIC SHIFT RIGHT

23-01-10, 11:20 PM


23-01-10, 11:30 PM
pc Pc
= 021 = 022



::




::

11 12 << !


PC տ!

:)

..

23-01-10, 11:32 PM
arithmetic shift logical



http://en.wikipedia.org/wiki/Arithmetic_shift


arithmetic shift R

logical

23-01-10, 11:36 PM
logical
arithmetic shift R

: arithmetic shift R
01100011
00110001

11001111
11100111



:11icon:

ARITHMATIC SHIFT ..

LEFT Ͽ

:humm:

23-01-10, 11:39 PM
left

http://en.wikipedia.org/wiki/Arithmetic_shift
left
overflow

24-01-10, 12:01 AM


Logical shift



http://en.wikipedia.org/wiki/Logical_shift

24-01-10, 01:06 AM





















0














19-03-10, 11:05 AM



Procedure
i. Initialize the internal registers of the 80x86 as follows:
(AX) = 0000H
(BX) = 0001H
ii. Initialize the word storage locations in the memory as follow:
(DS: 0001H) = BBBBH
(DS: 0004H) = CCCCH
iii. Enter the following Assembly instructions at the current CS:IP
MOV AX, BX
MOV AX, OAAAA
MOV AX, [BX]
MOV AX, [4]
ADD AX, BX
iv. Execute the Assembly instruction that you have entered in step 3. Then describe the operation performed by each instruction.
INST. l _______________________________________
INST.2_______________________________________
INST.3 _______________________________________
INST.4 _______________________________________
INST.5 _______________________________________
v. Explain how do you get your results using the Debug commands?

03-04-10, 08:11 PM
... ... ..

:1003:

N a ! F
08-10-10, 05:37 AM

05-12-10, 01:26 AM
:1003:

07-12-10, 07:29 PM

GadosH
08-12-10, 07:43 PM


<<

http://www.youtube.com/watch?v=CeD2L6KbtVM&feature=related

http://www.youtube.com/watch?v=ygm25sqqepg&feature=related

Sacora..
10-12-10, 04:52 PM
Gadosh
1000
:)