1 # Bit instructions. 2 .data 3 foodata: .word 42 4 .text 5 footext: 6 7 # cbit instructions. 8 .global cbitb 9 cbitb: 10 cbitb $6, 0x450 11 cbitb $0x6, 0xffff0450 12 cbitb $7, 0x41287 13 cbitb $3, 9(r5) 14 cbitb $0, (sp) 15 cbitb $2, 0xffffe1(r1) 16 cbitb $4, 0xfa(ra,sp,1) 17 cbitb $0x7, -333(r15,r7,8) 18 19 .global cbitw 20 cbitw: 21 cbitw $0xf, 0x23 22 cbitw $0x6, 0xffff0023 23 cbitw $01, 0xff287 24 cbitw $15, 1(r5) 25 cbitw $0, (r14) 26 cbitw $5, 0xffffe1(r1) 27 cbitw $8, 0xaf(ra,sp,2) 28 cbitw $0x7, -200(r1,r3,4) 29 30 .global cbitd 31 cbitd: 32 cbitd $6, 0xff 33 cbitd $0x6, 0xffff0fff 34 cbitd $0x1a, 0x10000 35 cbitd $31, 7(r9) 36 cbitd $020, (r2) 37 cbitd $26, 0xffffe1(r2) 38 cbitd $30, 0xa(r3,sp,1) 39 cbitd $0x7, -0x480(r4,r5,8) 40 cbitd r6, r8 41 cbitd $30, r4 42 43 # sbit instructions. 44 .global sbitb 45 sbitb: 46 sbitb $6, 0x450 47 sbitb $0x6, 0xffff0450 48 sbitb $7, 0x41287 49 sbitb $3, 9(r5) 50 sbitb $0, (sp) 51 sbitb $2, 0xffffe1(r1) 52 sbitb $4, 0xfa(ra,sp,1) 53 sbitb $0x7, -333(r15,r7,8) 54 55 .global sbitw 56 sbitw: 57 sbitw $0xf, 0x23 58 sbitw $0x6, 0xffff0023 59 sbitw $01, 0xff287 60 sbitw $15, 1(r5) 61 sbitw $0, (r14) 62 sbitw $5, 0xffffe1(r1) 63 sbitw $8, 0xaf(ra,sp,2) 64 sbitw $0x7, -200(r1,r3,4) 65 66 .global sbitd 67 sbitd: 68 sbitd $6, 0xff 69 sbitd $0x6, 0xffff0fff 70 sbitd $0x1a, 0x10000 71 sbitd $31, 7(r9) 72 sbitd $020, (r2) 73 sbitd $26, 0xffffe1(r2) 74 sbitd $30, 0xa(r3,sp,1) 75 sbitd $0x7, -0x480(r4,r5,8) 76 sbitd r6, r8 77 sbitd $30, r4 78 79 # tbit instructions. 80 .global tbitb 81 tbitb: 82 tbitb $6, 0x450 83 tbitb $0x6, 0xffff0450 84 tbitb $7, 0x41287 85 tbitb $3, 9(r5) 86 tbitb $0, (sp) 87 tbitb $2, 0xffffe1(r1) 88 tbitb $4, 0xfa(ra,sp,1) 89 tbitb $0x7, -333(r15,r7,8) 90 91 .global tbitw 92 tbitw: 93 tbitw $0xf, 0x23 94 tbitw $0x6, 0xffff0023 95 tbitw $01, 0xff287 96 tbitw $15, 1(r5) 97 tbitw $0, (r14) 98 tbitw $5, 0xffffe1(r1) 99 tbitw $8, 0xaf(ra,sp,2) 100 tbitw $0x7, -200(r1,r3,4) 101 102 .global tbitd 103 tbitd: 104 tbitd $6, 0xff 105 tbitd $0x6, 0xffff0fff 106 tbitd $0x1a, 0x10000 107 tbitd $31, 7(r9) 108 tbitd $020, (r2) 109 tbitd $26, 0xffffe1(r2) 110 tbitd $30, 0xa(r3,sp,1) 111 tbitd $0x7, -0x480(r4,r5,8) 112 tbitd r6, r8 113 tbitd $30, r4 114