Computer Organization Concepts: CCS 3000: Computer Organization With Assembly Programming Quijano, Ma. Christina
Computer Organization Concepts: CCS 3000: Computer Organization With Assembly Programming Quijano, Ma. Christina
Computer Organization Concepts: CCS 3000: Computer Organization With Assembly Programming Quijano, Ma. Christina
CPU
INPUT
ALU
Memory
OUTPUT Control
Unit
Processors
This little chip is the heart of a computer. Also referred
to as the "microprocessor," the processor does all the
computations such as adding, subtracting, multiplying,
and dividing. In PCs, the most popular microprocessor
used is the Intel Pentium chip, whereas Macintosh
computers use the PowerPC chip (developed by
Motorola, IBM, and Apple).
The Bus
A bus consist of 1 or more wires. There's usually a bus
that connects the CPU to memory and to disk and I/O
devices.
Real computers usually have several busses, even
though the simple computer we have modeled only has
one bus where we consider the data bus, the address
bus, and the control bus as part one larger bus.
The size of the bus is the number of wires in the bus.
We can refer to individual wires or a group of adjacent
wires with subscripts.
Data, Address, and Control Busses
There are usually 3 kinds of busses.
There's a 32-bit data bus, which is used to write or read
32 bits of data to or from memory.
There's a 32-bit address bus for the CPU to specify
which address to read or write from or to memory.
A control bus to allow the CPU and memory to
communicate (for example, to indicate when and
whether a read or write is to be performed).
Fetch, Execute, Decode
IF (Instruction Fetch)
D (Decode the instruction. Fetch Operands)
ALU (Perform the operation)
MEM ((Physical) Memory access)
WB (Write Back)
PC Update (PC Update)