1 Introduction To Computers and Computer Organization
1 Introduction To Computers and Computer Organization
(CS2523)
Chapter 1 of
Computer Organization and Architecture, William Stallings, 11th Edition, Pearson
Evolution of Microprocessors
Moore’s Law
Introduction to Computer Organization
Introduction to Assembly – Translating
Languages
Where this course fits in
3
Microprocessor
• Digital Computers
• Digital Camera
• Digital television
• Digital audio & video
players
• Cell phones
• Modern radios
• Digital calculators
• Medical equipments
• Communication Equipments
• Control systems
Microprocessor vs Microcontroller
• Microprocessor consists of only a Central Processing Unit,
whereas
• First Generation
– No mechanical components anymore
– Vacuum Tubes
• Principle
– Basic: Triode
– Grid voltage (anode) to simply turn a current
On / Off (Half wave rectification)
• 1946: ENIAC machine
– Electronic Numerical Integrator And
Computer
Historical Background
• ENIAC
Historical Background
• In 1971
• The world’s 1st microprocessor, the Intel 4004
was introduced
• 4-bit microprocessor
• Addresses only 4096 x 4bit memory
• Speed 50k instructions per second
Example: A thermostat
• 4-bit microprocessor
• A thermostat is a component
which senses the temperature of
a physical system and performs
actions so that the system's
temperature is maintained near a
desired set point.
Microprocessors Age -- Intel
• Later in 1971
– 8008 was released
– 8-bit version of the 4004
– It addressed a 16K byte memory
• In 1973
– 8080 was introduced
– limitations of the speed and instruction set of
8008 were addressed and improved
– It addressed a 64K bytes memory
Example: NASA's Mars Sojourner Rover
• 8-bit microprocessor
• Intel’s 80C85
Example: NASA's Mars Sojourner Rover
• 8-bit microprocessor
• Intel’s 80C85
• In 1978-79
– 8086 and 8088 modern µp’s (Microprocessors)
were introduced.
– 16-bit microprocessors (8 bit external data bus for 8088)
– Addresses 1M byte of memory.
– 2.5 million instructions per second
– Multiply and divide instructions included
• International Business Machines(IBM) decided to
use the 8088 in its first ever PC in 1981 making it
very popular
Microprocessors Age -- Intel
Million instructions per second (MIPS) is an older, obsolete measure of a computer's speed and
power, MIPS measures roughly the number of machine instructions that a computer can execute
in one second.
Microprocessors Age -- Intel
Processor Memory
I/O
30
Basic Computer Organization
31
Basic Computer Organization
32
Basic Computer Organization
Address Bus
Data Bus
Processor Memory
Control Bus
33
Dimensions of Memory
Horizontal Dimensions = Width of Memory Cell
00000000
00000001
Binary Vertical
Dimensions
Addresses
=
Of
Size of
00100100
Cells
00100101 34
Translating Languages
Writes a signed 32-bit decimal number to standard output in decimal format with a leading sign and no leading zeros.
Example:
mov eax,216543
call WriteInt
Output: +216543
NOTES: To write an unsigned integer, use the WriteDec procedure.
To write in hexadecimal, use the WriteHex procedure.
To write in binary, use the WriteBin procedure.
Use the mShow macro to display the contents of an 8-, 16-, or 32-bit variable or register in any combination of
hexadecimal, signed decimal, unsigned decimal, or binary formats.
The FUNCTION directive marks the start of a function. PROC is a synonym for FUNCTION.