{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

what is a CPU

It extracts instructions from memory and decodes and

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
clearly shows that it controls and co-ordinates computer components.It extracts instructions from memory and decodes and executes them.In fact it regulates the flow of information through the processor.In short,it can be said ,this component receives, decodes, stores results and manages execution of data that flows through the CPU. Its communication with both arithmetic unit and memory is inevitable. Registers are temporary storage areas which are responsible for holding the data that is to be processed.They store the instructions and data in a processor.This data is further used by Control Unit.There are some registers that are set aside for specific tasks, these generally include a program counter, stack, and flags. 2. Small, permanent storage locations within the CPU used for a particular purpose Size in bits or bytes (not MB like memory) ? Can hold data, an address or an instruction 3. What is main memory? main memory is part of the main computer system. The processor or the CPU directly stores and retrieves information from it. This memory is accessed by CPU, in random fashion. That means any location of this memory can be accessed by the CPU to either read information from it, or to store information in it. 4. In a computer, the cycle of execution of an instruction begins in the central processing unit (CPU) with following processes happening step by step: fetching of instruction: Instructions are stored in various address in memory (RAM). The program counter (PC) holds the memory address of the next instruction, which is passed to a memory controller and the content is fetched.decoding of instruction: the instruction is decoded in computer understandable form. (The PC is either incremented to address of next instruction, or loaded with a new address.) execution cycle: the instruction decoder activates various parts in the execution unit necessary for execution of this instruction. This may be done in stages using clock signals. storage: the result is stored, and the cycle begins again. 5.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

Ask a homework question - tutors are online