Fundamental of Computer
-
Upload
tremain-punch -
Category
Documents
-
view
25 -
download
0
description
Transcript of Fundamental of Computer
2
Computer Components
Hardware (architecture) Software (instruction set)
3
Basic Hardware
Bits Bytes Registers Memory Processor Data Bus
4
Hardware Components
Internal hardware– Microprocessor– Memory– Registers
External hardware– Input/Output Devices
5
Software Organization
Programs Data files Operating System
6
Computer storage
Bit– On : 1– Off : 0
Byte– data : 8 bits– parity : 1 bit (automatically setting)
7
Related bytes
Word Doubleword Quadword Paragraph Kilobyte Megabyte
8
Binary numbers
Bit value : 1 1 1 1 1 1 1 1Position value : 128 64 32 16 8 4 2 1Bit number : 7 6 5 4 3 2 1 0
9
Binary arithmetic
Decimal Binary 65 01000001 +42 +00101010 107 01101011
Decimal Binary 60 00111100 +53 +00110101 113 01110001
10
Negative Binary Numbers
Number +65 : 01000001Reverse the bits : 10111110Add 1 : 1Number -65 : 10111111
Reverse the bit value and add 1
11
Hexadecimal Representation
Binary : 1011 1001 1100 1110Decimal : 11 9 12 14Hexadecimal : B 9 C E
12
Homework (Submit before next week)
Processor Register Segment