PDF4PRO ⚡AMP

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

Example: stock market

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 instructio

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 ... •mode (register or memory), operand 1 is memory, and operand 2 is immediate data 1001 0010 0000 0011 1011 1011 1000 0001 9 2 0 3 B B 8 1 Opcode Operand1 Operand2.

  Central, Registers

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