1# Source file used to test the lb macro. 2 3 .data 4data_label: 5 .extern big_external_data_label,1000 6 .extern small_external_data_label,1 7 .comm big_external_common,1000 8 .comm small_external_common,1 9 .lcomm big_local_common,1000 10 .lcomm small_local_common,1 11 12 .text 13 lb $4,0 14 lb $4,1 15 lb $4,0x8000 16 lb $4,-0x8000 17 lb $4,0x10000 18 lb $4,0x1a5a5 19 lb $4,0($5) 20 lb $4,1($5) 21 lb $4,0x8000($5) 22 lb $4,-0x8000($5) 23 lb $4,0x10000($5) 24 lb $4,0x1a5a5($5) 25 lb $4,data_label 26 lb $4,big_external_data_label 27 lb $4,small_external_data_label 28 lb $4,big_external_common 29 lb $4,small_external_common 30 lb $4,big_local_common 31 lb $4,small_local_common 32 lb $4,data_label+1 33 lb $4,big_external_data_label+1 34 lb $4,small_external_data_label+1 35 lb $4,big_external_common+1 36 lb $4,small_external_common+1 37 lb $4,big_local_common+1 38 lb $4,small_local_common+1 39 lb $4,data_label+0x8000 40 lb $4,big_external_data_label+0x8000 41 lb $4,small_external_data_label+0x8000 42 lb $4,big_external_common+0x8000 43 lb $4,small_external_common+0x8000 44 lb $4,big_local_common+0x8000 45 lb $4,small_local_common+0x8000 46 lb $4,data_label-0x8000 47 lb $4,big_external_data_label-0x8000 48 lb $4,small_external_data_label-0x8000 49 lb $4,big_external_common-0x8000 50 lb $4,small_external_common-0x8000 51 lb $4,big_local_common-0x8000 52 lb $4,small_local_common-0x8000 53 lb $4,data_label+0x10000 54 lb $4,big_external_data_label+0x10000 55 lb $4,small_external_data_label+0x10000 56 lb $4,big_external_common+0x10000 57 lb $4,small_external_common+0x10000 58 lb $4,big_local_common+0x10000 59 lb $4,small_local_common+0x10000 60 lb $4,data_label+0x1a5a5 61 lb $4,big_external_data_label+0x1a5a5 62 lb $4,small_external_data_label+0x1a5a5 63 lb $4,big_external_common+0x1a5a5 64 lb $4,small_external_common+0x1a5a5 65 lb $4,big_local_common+0x1a5a5 66 lb $4,small_local_common+0x1a5a5 67 lb $4,data_label($5) 68 lb $4,big_external_data_label($5) 69 lb $4,small_external_data_label($5) 70 lb $4,big_external_common($5) 71 lb $4,small_external_common($5) 72 lb $4,big_local_common($5) 73 lb $4,small_local_common($5) 74 lb $4,data_label+1($5) 75 lb $4,big_external_data_label+1($5) 76 lb $4,small_external_data_label+1($5) 77 lb $4,big_external_common+1($5) 78 lb $4,small_external_common+1($5) 79 lb $4,big_local_common+1($5) 80 lb $4,small_local_common+1($5) 81 lb $4,data_label+0x8000($5) 82 lb $4,big_external_data_label+0x8000($5) 83 lb $4,small_external_data_label+0x8000($5) 84 lb $4,big_external_common+0x8000($5) 85 lb $4,small_external_common+0x8000($5) 86 lb $4,big_local_common+0x8000($5) 87 lb $4,small_local_common+0x8000($5) 88 lb $4,data_label-0x8000($5) 89 lb $4,big_external_data_label-0x8000($5) 90 lb $4,small_external_data_label-0x8000($5) 91 lb $4,big_external_common-0x8000($5) 92 lb $4,small_external_common-0x8000($5) 93 lb $4,big_local_common-0x8000($5) 94 lb $4,small_local_common-0x8000($5) 95 lb $4,data_label+0x10000($5) 96 lb $4,big_external_data_label+0x10000($5) 97 lb $4,small_external_data_label+0x10000($5) 98 lb $4,big_external_common+0x10000($5) 99 lb $4,small_external_common+0x10000($5) 100 lb $4,big_local_common+0x10000($5) 101 lb $4,small_local_common+0x10000($5) 102 lb $4,data_label+0x1a5a5($5) 103 lb $4,big_external_data_label+0x1a5a5($5) 104 lb $4,small_external_data_label+0x1a5a5($5) 105 lb $4,big_external_common+0x1a5a5($5) 106 lb $4,small_external_common+0x1a5a5($5) 107 lb $4,big_local_common+0x1a5a5($5) 108 lb $4,small_local_common+0x1a5a5($5) 109 110# Several macros are handled like lb. Sanity check them. 111 lbu $4,0 112 lh $4,0 113 lhu $4,0 114 lw $4,0 115 lwl $4,0 116 lwr $4,0 117 lwc0 $4,0 118 lwc1 $4,0 119 lwc2 $4,0 120 lwc3 $4,0 121 122# Round to a 16 byte boundary, for ease in testing multiple targets. 123 nop 124 nop 125 nop 126