nor 123 1 not2 3 xor xor 1 2 3 1 2 3 xor immediate xori 1 2 255 1 2 255 shift

# Nor 123 1 not2 3 xor xor 1 2 3 1 2 3 xor immediate

This preview shows page 6 out of 6 pages.

nor \$1,\$2,\$3 \$1 = not(\$2 | \$3) xor xor \$1, \$2, \$3 \$1 = \$2 \$3 xor immediate xori \$1, \$2, 255 \$1 = \$2 255 shift shift left logical sll \$1,\$2,5 \$1 = \$2 << 5 (logical) shift left logical variable sllv \$1,\$2,\$3 \$1 = \$2 << \$3 (logical), variable shift amt shift right logical srl \$1,\$2,5 \$1 = \$2 >> 5 (logical) shift right logical variable srlv \$1,\$2,\$3 \$1 = \$2 >> \$3 (logical), variable shift amt shift right arithmetic sra \$1,\$2,5 \$1 = \$2 >> 5 (arithmetic) shift right arithmetic variable srav \$1,\$2,\$3 \$1 = \$2 >> \$3 (arithmetic), variable shift amt memory load word lw \$1, 1000(\$2) \$1 = memory [\$2+1000] store word sw \$1, 1000(\$2) memory [\$2+1000] = \$1 load byte lb \$1, 1002(\$2) \$1 = memory[\$2+1002] in least sig. byte load byte unsigned lbu \$1, 1002(\$2) \$1 = memory[\$2+1002] in least sig. byte store byte sb \$1, 1002(\$2) memory[\$2+1002] = \$1 (byte modified only) branch branch if equal beq \$1,\$2,100 if (\$1 = \$2), PC = PC + 4 + (100*4) branch if not equal bne \$1,\$2,100 if (\$1 \$2), PC = PC + 4 + (100*4) jump jump j 10000 PC = 10000*4 jump register jr \$31 PC = \$31 jump and link jal 10000 \$31 = PC + 4; PC = 10000*4

#### You've reached the end of your free preview.

Want to read all 6 pages?

• Fall '08
• Staff
• MIPS architecture, Arithmetic shift, Logical shift, pages Problem, additional registers
Stuck? We have tutors online 24/7 who can help you get unstuck.
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes