CENG 103 Intro To CENG Lecture Notes SB - 1
CENG 103 Intro To CENG Lecture Notes SB - 1
Computer architecture
Wikipedia:
The first microprocessor, the Intel 4004 in 1971, contained 2300 transistors and operated at 106 KHz,
92,600 AOP/Sec. (0,92 MIPS)
By 1992, those numbers had jumped to 3.1 million transistors at a frequency of 66 MHz on the Intel
Pentium microprocessor, an increase in both parameters of a factor of about 1000. Pentium 1994
performance was 188 MIPS at 100 MHz
Today’s microprocessors contain more than ten billion transistors and can operate at more than 4
GHz, another increase in both parameters of about a factor of 1000.
In this course we shall become familiar with those parts and step-by-step,
understand how they are interconnected to reach today’s intelligent systems:
oInformation representation
oTransistors Gates information processing Integrated circuits (chips)
devices computer
oProgramming
oData and control structures
oOperating systems
Information representation
• All digital equipment operate on binary representation of information
• A bit (binary digit) can have only two values: 0/1, and is the smallest unit of
information:
Information means the choice between possible options. Unless there are at least two
options, there can be no choice, hence no information.
• With multiple bits, choices among larger sets of options are possible.
E.g. 2 bits 4 options (00, 01, 10, 11), 3 bits 8 options, etc.
Log229 ~ 4.86 so 4 bits are not sufficient, 5 bits are needed. (24 = 16, 25 = 32)
7 +7 +7 +7 00111 23 -7 -8 -9 10111
8 +8 +8 +8 01000 24 -8 -7 -8 11000
9 +9 +9 +9 01001 25 -9 -6 -7 11001
Extended (8-bit) ASCII code that includes Greek letters as well as other
symbols together with all 7-bit ASCII symbols.
So the same 8-bit data may be interpreted in many different ways:
7-bit ASCII, 8-bit ASCII, unsigned, sign magnitude, 1’sC, 2’s C, …
7-bit ASCII Table
Any 32-bit (4 Byte) data item may mean
(i.e. be interpreted/used as):
• Alphanumeric:
4 character ASCII code (7-bit ASCII or Extended 8-bit ASCII)
• Another alphanumeric code (e.g. Unicode, EBCDIC, etc)
• Numeric:
IEEE 754 binary 32 floating point number
Unsigned binary number
Sign-magnitude integer
1’sC integer
2’sC integer