Basic Machine Architecture: Bowen University, Iwo Nigeria
Basic Machine Architecture: Bowen University, Iwo Nigeria
Basic Machine Architecture: Bowen University, Iwo Nigeria
A computer is an electronic device that manipulates information, or data. It has the ability
to store, retrieve, and process data.
Computer system has five basic units that help the computer to perform operations, which are given below:
1.Input Unit
2.Output Unit
3.Storage Unit
5.Control Unit
The main components in a typical computer system are the processor, memory, input/output devices, and the
communication channels that connect them.
All data is stored in the computer as numbers.
As computer continues to process, store, and retrieve data. Data may be numbers in a spreadsheet, characters of
text in a document among others.
The processor is the most important part of a computer, the component around which everything else
A sequence of instructions is a machine-code program. Each type of processor has a different instruction set,
meaning that the functionality of the instructions (and the bit patterns that activate them) varies
The instruction set provides commands to the processor, to tell it what it needs to do. The instruction set consists of
addressing modes, instructions, native data types, registers, memory architecture, interrupt, and exception
handling, and external I/O.
Central Processing Unit
.
The central processing unit (CPU) of a computer is a piece of
hardware that carries out the instructions of a computer
program. It performs the basic arithmetical, logical, and
input/output operations of a computer system.
These steps are repeated over and over again until we reach the last instruction of a
program (usually HALT, STOP, or QUIT).
Arithmetic Logic Unit
ALU takes the data from Memory registers; ALU contains the
logical circuit to perform mathematical operations like
subtraction, addition, multiplication, division, logical operations
and logical shifts on the values held in the processors registers
or its accumulator
Main memory is where programs and data are kept when the
processor is actively using them. When programs and data
become active, they are copied from secondary memory into
main memory where the processor can interact with them
System bus:- This is the bus that connects the CPU to the
bus.
Data sharing, Addressing, Timing, and Power are basic functional components of a computer Bus
Program Execution in the CPU
2. The memory address where the first instruction is located is copied to the
program counter.
3. The CPU sends the address in the program counter to memory via the address
bus.
4. Memory responds by sending a copy of the state of the bits at that memory
location on the data bus, which the CPU then copies into its instruction register.
7. Go to step 3
An instruction register holds a machine instruction that is currently being executed. Generally, a
register sits at the top of the memory hierarchy. A variety of registers serve different functions
in a central processing unit (CPU) – the function of the instruction register is to hold that
currently queued instruction for use.
References
1. Digital Design and Computer Architecture by David Money Harris and sarah L. Harris
4. Computer Organization and Architecture: Designing for Performance, 8/e (Old Edition) by Stallings
William