PDF4PRO ⚡AMP

Modern search engine that looking for books and documents around the web

Example: biology

Central Processing Unit (CPU)

Central Processing unit (CPU) CPU is the heart and brain It interprets and executes machine level instructions Controls data transfer from/to Main Memory (MM) and CPU Detects any errors In the following lectures, we will learn: Instruction representation Data transfer mechanism between MM and CPU The internal functional units of two different CPU architectures How these units are interconnected How a processor executes instructionsInstruction Representation CPU operation is determined by the instruction it executes Collection of these instructions that a CPU can execute forms its Instruction Set An instruction is represented as sequence of bits, for example: Instruction is divided into fields Opcodeindicates the operation to be performed, eg., 92 above indicates a copy operation we need two operands one source and other destination Opcoderepresents nature of operands (data or address), operand 1 is address and operand 2 is data mode(register or memory), operand 1 is memory, and operand 2 is immediate data100100100000001110111011100000019203 BB81 OpcodeOperand1 Operand2 Basic Instruction TypesNot all instructions require two operands 3-address instructionsOperation Source1, Source2, A, B, C ; C = A + B 2-address instructionsOperation Source, B, C; C = BAdd A, C; C = C +

Central Processing Unit (CPU) •CPU is the heart and brain •It interprets and executes machine level instructions •Controls data transfer from/to Main Memory (MM) and CPU ... holding the address in memory of the next instruction to be executed. After an instruction is fetched from memory, the PC is automatically incremented to hold the ...

Tags:

  Unit, Holdings

Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Spam in document Broken preview Other abuse

Transcription of Central Processing Unit (CPU)

Related search queries