1 .text 2 3 .set noreorder 4 .set noat 5 6 .ent text_label 7 .global text_label 8text_label: 9 # Floating point transfer to VU 10 lqc2 $0,0($0) 11 lqc2 $1, 0x7fff($1) 12 lqc2 $8, -0x8000($8) 13 lqc2 $31, -1($31) 14 .set at 15 lqc2 $0, 0x8000($2) 16 lqc2 $8, -0x8001($31) 17 lqc2 $31, 0xF1234567($4) 18 .set noat 19 20 # Floating point transfer from VU 21 sqc2 $0,0($0) 22 sqc2 $1, 0x7fff($1) 23 sqc2 $8, -0x8000($8) 24 sqc2 $31, -1($31) 25 .set at 26 sqc2 $0, 0x8000($2) 27 sqc2 $8, -0x8001($31) 28 sqc2 $31, 0xF1234567($4) 29 .set noat 30 31 # Integer transfer from VU 32 cfc2 $0,$0 33 cfc2 $0,$31 34 cfc2.i $0,$0 35 cfc2.i $0,$31 36 cfc2.ni $0,$0 37 cfc2.ni $0,$31 38 39 # Integer transfer to VU 40 ctc2 $0,$0 41 ctc2 $0,$31 42 ctc2.i $0,$0 43 ctc2.i $0,$31 44 ctc2.ni $0,$0 45 ctc2.ni $0,$31 46 47 # Floating point transfer from VU 48 qmfc2 $0,$0 49 qmfc2 $0,$31 50 qmfc2.i $0,$0 51 qmfc2.i $0,$31 52 qmfc2.ni $0,$0 53 qmfc2.ni $0,$31 54 55 # Floating point transfer to VU 56 qmtc2 $0,$0 57 qmtc2 $0,$31 58 qmtc2.i $0,$0 59 qmtc2.i $0,$31 60 qmtc2.ni $0,$0 61 qmtc2.ni $0,$31 62 63 # COP2 conditional branch instructions 64branch_label: 65 bc2f branch_label 66 nop 67 bc2fl branch_label 68 nop 69 bc2t branch_label 70 nop 71 bc2tl branch_label 72 nop 73 74# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ... 75 .space 8 76 .end text_label 77