Preview

Microprocessor without Interlocked Pipeline Stages Architecture

Good Essays
Open Document
Open Document
4876 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Microprocessor without Interlocked Pipeline Stages Architecture
MIPS Architecture
 MIPS stands for 'Microprocessor without Interlocked

Pipeline Stages’  RISC Instruction Set Architecture  32 bit general purpose registers  PC (program counter) holds address of next instruction  all MIPS Instructions are same length  Few Instruction formats and simple addressing modes

Implementing MIPS
• • Implementation of the MIPS instruction set Simplified to contain only
– arithmetic-logic instructions: add, sub, and, or, slt – memory-reference instructions: lw, sw – control-flow instructions: beq, j
6 bits 5 bits 5 bits 5 bits 5 bits 6 bits

op
6 bits

rs
5 bits

rt
5 bits

rd

shamt funct
16 bits

R-Format

op
6 bits

rs

rt
26 bits

offset

I-Format J-Format

op

address

MIPS Instruction Format
• An instruction like “add” consists of 6 fields op 6

rs
5

rt
5

rd
5

shamt funct
5 6

 op: opcode

    

rs: first register source operand rt: second register source operand rd: register destination shamt: shift amount (see later) funct: function code (to select a variant of the operation, based on the opcode)

Overview: Processor Implementation Styles
• Single Cycle
– perform each instruction in 1 clock cycle – clock cycle must be long enough for slowest instruction; therefore, – disadvantage: only as fast as slowest instruction

• Multi-Cycle
– break fetch/execute cycle into multiple steps – perform 1 step in each clock cycle – advantage: each instruction uses only as many cycles as it needs

• Pipelined
– execute each instruction in multiple steps – perform 1 step / instruction in each clock cycle – process multiple instructions in parallel – assembly line

Implementing MIPS: the Fetch/Execute Cycle
• High-level abstract view of fetch/execute implementation
– – – – – use the program counter (PC) to read instruction address fetch the instruction from memory and increment PC use fields of the instruction to select registers to read execute depending

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    2. What type of instruction is used to execute different code based on a condition? -Jumps…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    instructions to load the registers of the processor with data from a central memory and to…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Satisfactory Essays

    Biology Exam Paper

    • 2143 Words
    • 9 Pages

    Using a technology called ____, a processor can begin executing an instruction before it completes the previous instruction.…

    • 2143 Words
    • 9 Pages
    Satisfactory Essays
  • Satisfactory Essays

    CS305 Final Exam Questions

    • 1044 Words
    • 6 Pages

    b. It copies the operand into the stack at the location pointed to by the stack pointer, and then decrements the stack pointer (by 2 or 4).…

    • 1044 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Prg 211

    • 393 Words
    • 2 Pages

    A sequential slow is a series of consecutive statements which is executed in the order that they instructed. The computer only operates on sequential code, one statement after the next, until it encounters a decision structure, loop structure, or a submodule. After the decision, loop, or instructions are completed, the next statement in sequence will be executed.…

    • 393 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Faith Integration

    • 613 Words
    • 3 Pages

    The processor could keep track of what locations are associated with each process and limit access to locations that are outside of a program's extent. By using base and limits registers and by performing a check for every memory access, information regarding the extent of a program's memory could be maintained…

    • 613 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Computer Concepts Exercises

    • 2338 Words
    • 10 Pages

    011000 The list of codes for a microprocessor’s instruction set is called machine language. (Answer: True)…

    • 2338 Words
    • 10 Pages
    Good Essays
  • Satisfactory Essays

    ece362 lab04

    • 559 Words
    • 2 Pages

    This exercise investigates conditional code and branches use in ARM Cortex-M3 assembly language program and use of Keil MDK-ARM debugger. The objective of this exercise is familiarization with Cortex-M3 conditional codes through a prime-number test design and programming.…

    • 559 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    A j-format instruction (Jump) which has only the address field in addition to the opcode field.…

    • 500 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Lab Quiz 5

    • 708 Words
    • 3 Pages

    4. This register is often used to hold a program address but does not usually contain the address of the instruction being executed.…

    • 708 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Instruction set types

    • 431 Words
    • 2 Pages

    In this form of architecture, instructions are highly encoded in order to enhance the code density.Due to the way the instructions are packed together, results are in smaller program sizes, and they have slow memory access.…

    • 431 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Second, for parallel running, the new and the old systems operate together fully for a specified period, both processing current data and enabling cross checking to be made. With the data is input to both systems, the results can be verified whether outputs from the two systems are the same.…

    • 253 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Question 1 (15 Marks) Answer the following questions: a) What is a stack? b) What is the purpose of the stack pointer? c) What type of instruction is used to retrieve data from the stack? d) What addressing modes can the JMP instruction use? e) How is the stack pointer affected by the JSR instruction? f) What is a nested subroutine? g) What are the two methods by which microprocessors handle I/O operations? h) Write a program segment that will: read in data from the switch bank in address $1500 and double the number and display the result on the LED bank in address $1600.…

    • 694 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Assembly language lecture6

    • 991 Words
    • 13 Pages

    current value of IP (IP := 0002 + 3 = 0005) => IP will point to…

    • 991 Words
    • 13 Pages
    Satisfactory Essays
  • Good Essays

    int function1(char x) { //parameter x passed to the function, function returns an integer value…

    • 1596 Words
    • 7 Pages
    Good Essays

Related Topics