PDF4PRO ⚡AMP

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

Example: quiz answers

Central Processing Unit (CPU)

Back to document page

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 BB81OpcodeOperand1Operand2Basic 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 + AHer

ALU CPU Memory Data bus Address bus Memory Control 16 bit 8 bit. Program Execution Fetch Cycle: •Processor fetches one instruction at a time from successive memory locations until ... •Decoder and control logic unit is responsible to select the …

  Unit, Logic, Bit 8 bit, Logic unit

Download Central Processing Unit (CPU)


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

Related search queries