• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/12

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

12 Cards in this Set

  • Front
  • Back

CISC

- Instructions of uniform length


- Large number of general purpose registers


- Arithmetic operations on register values, as opposed to values acquired from memory

RISC

- Simple instructions, just lots of them


- More efficient compilers are easy to develop for


- Simplicity allows ILP to take place.

Important instructions - add

add $s1, $s2, $s3 -> $s1 = ($s2 + $s3)

Important instructions - subtract

subtract $s1, $s2, $s3 -> ($s2 + $s3) - $s1

Important instructions - Load word

lw $s1, 20($s2) -> get (20+$s2) in memory, store at $s1

Important instructions - Store word

$s1, 20($s2) -> update memory location (20+$s2) with the value of $s1

Important instructions - Beq

Beq $s1, $s2, 25 -> if $s1 == $s2, go to PC + 4 + 25

Important instructions - Bne

Bne $s1, $s2, 25 -> if $s1 /= $s2, go to PC + 4 + 25

Arithmetic Instructions use ... type decoding

R-type

Addressing Instructions use ... type decoding

I-type

Fetch-decode-execute

1) Program requests information


2) Instructions are sent to main memory


3) Program instructions are fetched from main memory


4) Processor decodes the instruction


5) Processor executes the instruction

Multiplexers

The processor has to model all possible data flows. The multiplexer controls the data flow.