created: 07/21/01; corrections: 08/22/01
This chapter describes two additional branch instructions and two conditional set instructions. Set instructions set a register to 1 or 0 depending on whether a condition is true or false.
bltz
instruction (branch on less than zero)bgez
instruction (branch on greater or equal to zero)slt
instruction (set on less than) slti
instruction (set on less than, immediate) sltu
instruction (set on less than, unsigned) sltiu
instruction (set on less than, immediate unsigned) These new instructions help you to implement loops and branches. But it is still difficult task. Study this chapter to gain insight into what compilers do for you.