mips-test.asm (812B)
1 branches_test: 2 add t0, t1, t2 3 addi t0, t1, 2 4 addiu t0, t1, 3 5 addu t0, t1, t2 6 clo t0, t1 7 clz t0, t1 8 lui t0, 0xffff 9 seb t0, t1 10 seh t0, t1 11 sub t0, t1, t2 12 subu t0, t1, t2 13 sll t0, t1, 2 14 sllv t0, t1, t2 15 sra t0, t1, 2 16 srav t0, t1, t2 17 srl t0, t1, 2 18 srlv t0, t1, t2 19 and t0, t1, t2 20 andi t0, t1, 0xff 21 nor t0, t1, t2 22 or t0, t1, t2 23 ori t0, t1, 0xff 24 xor t0, t1, t2 25 xori t0, t1, 0xff 26 movn t0, t1, t2 27 movz t0, t1, t2 28 slt t0, t1, t2 29 slti t0, t1, 0xff 30 sltiu t0, t1, 0xff 31 sltu t0, t1, t2 32 div t0, t1 33 mult t0, t1 34 mfhi t0 35 mflo t0 36 mthi t0 37 mtlo t0 38 beq t0, t1, branches_test 39 bgez t0, branches_test 40 bgtz t0, branches_test 41 blez t0, branches_test 42 bltz t0, branches_test 43 bne t0, t1, branches_test 44 break 45 syscall 46 j 8 47 jal 8 48 jalr t0 49 jr t0 50 lb t0, t1, 0 51 lbu t0, t1, 0 52 lh t0, t1, 0 53 lhu t0, t1, 0 54 lw t0, t1, 0 55 sb t0, t1, 0 56 sh t0, t1, 0 57 sw t0, t1, 0