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