100 likes | 244 Vues
Sec (2.1). Computer Architectures. Computer Architectures. For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main memory cells. These registers can be classified as either General purpose register or Special purpose register.
E N D
Sec (2.1) Computer Architectures
Computer Architectures • For temporary storage of information, the CPU contains cells, or registers, that are conceptually similar to main memory cells. These registers can be classified as either • General purpose register or • Special purpose register
General purpose register: • Serve as temporary holding places for data being manipulated by the CPU. These register hold the inputs to the ALU and provide storage space for results produced by that unit.
The input is stored in the memory under the direction of CU One instruction is token of the memory by CU which decodes it CU sends signals to ALU and memory Data transferred from memory or data is transferred to memory (from input) then to ALU ALU performs the operation and send the result to memory Repeat statements from 2-5 Result is transferred to output from memory under the direction of CU Input output ALU CU Memory To perform an operation on data started in main memory:
The bus system : For the purpose of transferring bit patterns, a CPU and main memory are connected by a collection of wires called a Bus
The bus system : • Bus system is responsible for carrying the address, data and control signals from one part in the computer to another • There are three kinds of buses: • address bus • data bus • control bus
Address bus: • Is a unidirectional in which the addresses are sent from the CPU to memory
Data Bus: • It is a bidirectional bus. If the CPU is sending information then the operation is called "WRITE" operation and data bus is working as output. If the CPU is receiving data the operation is called "READ" and data bus is working as input.
Control Bus: • Is a set of signals which synchronize the activities of all the elements of the computer