Term
|
Definition
Op Code: 0 and 32
Ex: add $s1,$s2,$s3
Meaning: $s1=$s2+$s3 |
|
|
Term
|
Definition
Op Code: 0 and 34
Ex: sub $s1,$s2,$s3
Meaning: $s1 = $s2 - $s3 |
|
|
Term
add immediate (R&I format) |
|
Definition
Op Code: 8
Ex: addi $s1, $s2, 6
Meaning: $s1 = $s2 + 6 |
|
|
Term
or immediate (R&I format) |
|
Definition
Op Code: 13
Ex: ori $s1,$s2,6
Meaning: $s1 = $s2 v 6 |
|
|
Term
|
Definition
I format
Op Code - 35
EX - $s1,24($s2)
Meaning - $s1 = Memory($s2+24) |
|
|
Term
|
Definition
Op Code - 43
EX - sw $s1,24($s2)
Meaning($s2+24) = $s1 |
|
|
Term
|
Definition
Op Code - 32
EX - lb $s1,25($s2)
Meaning - $s1 = Memory($s2+25) |
|
|
Term
|
Definition
Op Code - 40
Ex - sb $s1,25($s2)
Meaning - Memory($s2+25) = $s1 |
|
|
Term
load upper immediate (I format) |
|
Definition
Op Code - 15
EX. - lui $s1, 6
Meaning - $s1 = 6 * 12^6 |
|
|
Term
|
Definition
Op Code - 4
EX. - beq $s1, $s2, L
Meaning - if($s1==$s2) go to L |
|
|
Term
br on not equal (I&R format) |
|
Definition
Op Code - 5
EX. - bne $s1,$s2,L
Meaning - if ($s1 != $s2) go to L |
|
|
Term
set on less than (I&R format) |
|
Definition
op code - 0 and 42
EX. = slt $s1,$s2,$s3
Meaning - if ($s2 < $s3) $s1=1 else $s1=0 |
|
|
Term
set on less than immediate (I&R) |
|
Definition
Op Code - 10
EX. - slti $s1,$s2,6
Meaning - if ($s2<6) $s1=1 else $s1=0 |
|
|
Term
|
Definition
Op Code - 2
EX - j 2500
Meaning - go to 10,000 |
|
|
Term
jump register (i&R format) |
|
Definition
Op Code - 0 and 8
EX - jr $t1
meaning - go to $t1 |
|
|
Term
jump and link (I&R format) |
|
Definition
Op code - 3
EX = jal 2500
Meaning - go to 10,000; $ra =PC+4 |
|
|