Mips Instruction Format Cheat Sheet Page 3

ADVERTISEMENT

Revisiting machine language of MIPS
(check out pp 101-105)
Loop:
add $t1, $s3, $s3
# starts from 80000
add $t1, $t1, $t1
add $t1, $t1, $s6
lw
$t0, 0($t1)
bne $t0, $s5, Exit
add $s3, $s3, $s4
j
Loop
Exit:
6
5
5
5
5
6
80000
0
19
19
9
0
32
R-type
80004
0
9
9
9
0
32
R-type
80008
0
9
22
9
0
32
R-type
80012
35
9
8
0
I-type
80016
5
8
21
2
I-type
80020
0
19
20
19
0
32
R-type
80024
2
20000
J-type
80028

ADVERTISEMENT

00 votes

Related Articles

Related forms

Related Categories

Parent category: Education