Presentation is loading. Please wait.

Presentation is loading. Please wait.

COMPUTER ORGANISATION.. LAB. تنظيم الحاسبات.. عملي

Similar presentations


Presentation on theme: "COMPUTER ORGANISATION.. LAB. تنظيم الحاسبات.. عملي"— Presentation transcript:

1 COMPUTER ORGANISATION.. LAB. تنظيم الحاسبات.. عملي hs.alaskar@mu.edu.sa

2 DIGITAL CIRCUIT DESIGN SYNTHETIC, LOGICAL PHRASES, LOGIC GATES hs.alaskar@mu.edu.sa 1

3  Given the above circuit write down the truth table and the output Boolean function equation ? Truth table examples : Ex1: A B C D Y hs.alaskar@mu.edu.sa

4  Solve-ex1 : Truth table examples : YCDABDCBA 0000000 0001000 0000100 1101100 0000010 0001010 0000110 1101110 0000001 0001001 0000101 1101101 1010011 1011011 1010111 1111111 Y=AB+CD hs.alaskar@mu.edu.sa

5 Truth table examples : Ex2: hs.alaskar@mu.edu.sa

6  Solve-ex2 : Truth table examples : YABBABA 111100 100110 001001 100011 a b Y hs.alaskar@mu.edu.sa

7 Sum of products methods : Y= fundamental product BA 00 10 01 11 hs.alaskar@mu.edu.sa

8  Ex1 :  Given the above truth table write down the output Boolean function equation and draw the circuit ? Sum of products methods : YCBA 0000 0100 1010 0110 0001 1101 1011 1111 hs.alaskar@mu.edu.sa

9 Sum of products methods : hs.alaskar@mu.edu.sa

10 Exercises:  Exercises 1:  Given the above circuit write down the truth table and the output Boolean function equation ? hs.alaskar@mu.edu.sa A B C Y

11 Exercises:  Exercises 2:  Given the above circuit write down the truth table and the output Boolean function equation ? hs.alaskar@mu.edu.sa A B Y

12 Exercises: hs.alaskar@mu.edu.sa

13  Exercises 4: Exercises: hs.alaskar@mu.edu.sa YDCBA 00000 01000 00100 11100 00010 01010 00110 11110 00001 11001 00101 01101 00011 01011 00111 01111  Given the above truth table write down the output Boolean function equation and draw the circuit ?

14 INTERNAL REPRESENTATION OF NUMBERS hs.alaskar@mu.edu.sa 2

15 Internal representation of numbers The representation of numbers in the computer requires stored numbers in computer memory. And computers using storage units have a fixed length = 32 bit. First: the representation of integer numbers: يتم تقسيم مكان الذاكرة إلى قسمين من الوحدات الأساسية : القسم الأول عبارة عن وحدة مخصصة لإشارة العدد : (0) للموجب ،(1) للسالب. القسم الثاني هو الجزء الأساسي للعدد بعد تحويله للنظام الثنائي ويتكون من 31 وحدة. hs.alaskar@mu.edu.sa 11100101100000000000000000000000 32 bit إشارة العدد الجـــزء الأسـاســــي للـــعدد

16 Internal representation of numbers hs.alaskar@mu.edu.sa

17 Internal representation of numbers Solve-Ex1-1:- hs.alaskar@mu.edu.sa 423 2 1 211 2 1 105 2 1 52 2 0 26 2 0 13 2 1 6 2 0 3 2 1 1 2 1 0 الــبواقــــي = 110100111 2 11100101100000000000000000000000 32 bit

18 Internal representation of numbers hs.alaskar@mu.edu.sa

19 Internal representation of numbers Solve-Ex2-1:- hs.alaskar@mu.edu.sa 01101110000000000000000000000000 118 2 0 59 2 1 29 2 1 14 2 0 7 2 1 3 2 1 1 2 1 0 الــبواقــــي = 1110110 2 32 bit

20 Internal representation of numbers hs.alaskar@mu.edu.sa

21 Internal representation of numbers Solve-Ex3-1:- hs.alaskar@mu.edu.sa 01001110000000000000000000000001 = 1 1 0 0 0 1 1 0 1 2 32 bit 397 2 1 198 2 0 99 2 1 49 2 1 24 2 0 12 2 0 6 2 0 3 2 1 1 2 1 0 الــبواقــــي = 0 0 1 1 1 0 0 1 0 2

22 Internal representation of numbers Second: the representation of fractional numbers: يتم تقسيم مكان الذاكرة إلى ثلاث أقسام من الوحدات الأساسية : القسم الأول عبارة عن وحدة مخصصة لإشارة العدد : (0) للموجب ،(1) للسالب. القسم الثاني عبارة عن سبع وحدات لتمثيل أس العدد. القسم الثالث هو الجزء الأساسي للعدد بعد تحويله للنظام الثنائي في الصورة الأسية ويتكون من 24 وحدة hs.alaskar@mu.edu.sa 11100101100000000000000010100000 32 bit إشارة العدد 24 وحدة للجـــزء الأسـاســي للـعدد في الصورة الأســية إشارة الأس 7 وحدات لأس العدد

23 Internal representation of numbers hs.alaskar@mu.edu.sa

24 Internal representation of numbers Solve-Ex1-2:- hs.alaskar@mu.edu.sa = 110100011 2 419 2 1 209 2 1 104 2 0 52 2 0 26 2 0 13 2 1 6 2 0 3 2 1 1 2 1 0 الــبواقــــي 0.8125 X 2 1 = 0.625 X 2 1 = 0.25 X 2 0 = 0.50 X 2 1 = 0.0 X 2 الجزء الصحيح = 0.1101 2 = 110100011.1101 2

25 Internal representation of numbers Solve-Ex1-2:- hs.alaskar@mu.edu.sa 10111100010110000000000010010000 32 bit نحوله للصورة الأسية :- = 0.1101000111101 x 2 9 = 110100011.1101 2 9 2 1 4 2 0 2 2 0 1 2 1 0 الــبواقــــي


Download ppt "COMPUTER ORGANISATION.. LAB. تنظيم الحاسبات.. عملي"

Similar presentations


Ads by Google