Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
21 views1 page

MIPS Assembly Instructions Guide

The document lists MIPS commands and their functions, including add, addi, addu, addiu, sub, subu, and, andi, or, nor, and lw to perform arithmetic operations and load values from memory using registers and immediate values.

Uploaded by

21520938
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views1 page

MIPS Assembly Instructions Guide

The document lists MIPS commands and their functions, including add, addi, addu, addiu, sub, subu, and, andi, or, nor, and lw to perform arithmetic operations and load values from memory using registers and immediate values.

Uploaded by

21520938
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

LAB01_CE119

Lệnh Chức năng


add $t0, $t1, $t2 $t0 = $t1 + $t2
addi $t0, $t1, x $t0 = $t1 + x
addu $t0, $t1, $t2 $t0 = $t1 + $t2 (Không số tràn )
addiu $t0, $t1, x $t0 = $t1 + x ( Không số tràn )
sub $t0, $t1, $t2 $t0 = $t1 - $t2
subu $t0, $t1, $t2 $t0 = $t1 - $t2 ( Không số tràn )
and $t0, $t1, $t2 $t0 = $t1 & $t2
andi $t0, $t1, x $t0 = $t1 & x
or $t0, $t1, $t2 $t0 = $t1| $t2
nor $t0, $t1, $t2 $t0 = ~($t1| $t2)
lw $t0, x($t1) $t0 = Memory[$t1 +

You might also like