| bge | s,t,label | branch if s>=t | signed |
Berikut adalah contohnya
bge $t1,$t2,spot # if ( $t1 >= $t2 ) goto spot
bge $t1,23,spot # if ( $t1 >= 23 ) goto spot
bge $t1,-98,spot # if ( $t1 >= -98 ) goto spot
bge 12,$t1,oops # WRONG: first op must be a register
bge $t1,value,oops # WRONG: second op can't be a symbolic address
Quest 6: Apakah instruksi di bawah ini adalah benar?
bge $t1,-67,spot # if ( $t1 >= -67 ) goto spot
Jawab: Yes
Jawaban yang benar: Yes
Tidak ada komentar:
Posting Komentar