Java程序辅导

C C++ Java Python Processing编程在线培训 程序编写 软件开发 视频讲解

客服在线QQ:2653320439 微信:ittutor Email:itutor@qq.com
wx: cjtutor
QQ: 2653320439
MIPS Assembly 1
MIPS conditional set instructions:
slt $t0, $s0, $s1      # $t0 = 1 if $s0 < $s1
# $t0 = 0 otherwise
slti $t0, $s0,     # $t0 = 1 if $s0 < imm
# $t0 = 0 otherwise
These are useful for "remembering" the results of a Boolean comparison for later use.
Conditional Set Instructions
Intro Computer OrganizationComputer Science Dept Va Tech January 2008 ©2006-08  McQuain & Ribbens
MIPS Assembly 2
MIPS unconditional branch instructions:
j Label      # PC = Label
b Label      # PC = Label
jr $ra        # PC = $ra
Unconditional Branch Instructions
These are useful for building loops and conditional control structures.
Intro Computer OrganizationComputer Science Dept Va Tech January 2008 ©2006-08  McQuain & Ribbens
MIPS Assembly 3
Decision making instructions
- alter the control flow,
- i.e., change the "next" instruction to be executed
MIPS conditional branch instructions:
bne $t0, $t1,