1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 2;bit 3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 4 .h8300sx 5 .text 6_start: 7 bset #0x7,r1h ;7071 8 bset #0x7,@er1 ;7d107070 9 bset #0x7,@0xffffff12:8 ;7f127070 10 bset #0x7,@0x1234:16 ;6a1812347070 11 bset #0x7,@0x12345678:32 ;6a38123456787070 12 13 bset r3h,r1h ;6031 14 bset r3h,@er1 ;7d106030 15 bset r3h,@0xffffff12:8 ;7f126030 16 bset r3h,@0x1234:16 ;6a1812346030 17 bset r3h,@0x12345678:32 ;6a38123456786030 18 19 bset/eq #0x7,@er1 ;7d107077 20 bset/eq #0x7,@0xffffff12:8 ;7f127077 21 bset/eq #0x7,@0x1234:16 ;6a1812347077 22 bset/eq #0x7,@0x12345678:32 ;6a38123456787077 23 24 bset/eq r3h,@er1 ;7d106037 25 bset/eq r3h,@0xffffff12:8 ;7f126037 26 bset/eq r3h,@0x1234:16 ;6a1812346037 27 bset/eq r3h,@0x12345678:32 ;6a38123456786037 28 29 bset/ne #0x7,@er1 ;7d107076 30 bset/ne #0x7,@0xffffff12:8 ;7f127076 31 bset/ne #0x7,@0x1234:16 ;6a1812347076 32 bset/ne #0x7,@0x12345678:32 ;6a38123456787076 33 34 bset/ne r3h,@er1 ;7d106036 35 bset/ne r3h,@0xffffff12:8 ;7f126036 36 bset/ne r3h,@0x1234:16 ;6a1812346036 37 bset/ne r3h,@0x12345678:32 ;6a38123456786036 38 39 bnot #0x7,r1h ;7171 40 bnot #0x7,@er1 ;7d107170 41 bnot #0x7,@0xffffff12:8 ;7f127170 42 bnot #0x7,@0x1234:16 ;6a1812347170 43 bnot #0x7,@0x12345678:32 ;6a38123456787170 44 45 bnot r3h,r1h ;6131 46 bnot r3h,@er1 ;7d106130 47 bnot r3h,@0xffffff12:8 ;7f126130 48 bnot r3h,@0x1234:16 ;6a1812346130 49 bnot r3h,@0x12345678:32 ;6a38123456786130 50 51 bclr #0x7,r1h ;7271 52 bclr #0x7,@er1 ;7d107270 53 bclr #0x7,@0xffffff12:8 ;7f127270 54 bclr #0x7,@0x1234:16 ;6a1812347270 55 bclr #0x7,@0x12345678:32 ;6a38123456787270 56 57 bclr r3h,r1h ;6231 58 bclr r3h,@er1 ;7d106230 59 bclr r3h,@0xffffff12:8 ;7f126230 60 bclr r3h,@0x1234:16 ;6a1812346230 61 bclr r3h,@0x12345678:32 ;6a38123456786230 62 63 bclr/eq #0x7,@er1 ;7d107277 64 bclr/eq #0x7,@0xffffff12:8 ;7f127277 65 bclr/eq #0x7,@0x1234:16 ;6a1812347277 66 bclr/eq #0x7,@0x12345678:32 ;6a38123456787277 67 68 bclr/eq r3h,@er1 ;7d106237 69 bclr/eq r3h,@0xffffff12:8 ;7f126237 70 bclr/eq r3h,@0x1234:16 ;6a1812346237 71 bclr/eq r3h,@0x12345678:32 ;6a38123456786237 72 73 bclr/ne #0x7,@er1 ;7d107276 74 bclr/ne #0x7,@0xffffff12:8 ;7f127276 75 bclr/ne #0x7,@0x1234:16 ;6a1812347276 76 bclr/ne #0x7,@0x12345678:32 ;6a38123456787276 77 78 bclr/ne r3h,@er1 ;7d106236 79 bclr/ne r3h,@0xffffff12:8 ;7f126236 80 bclr/ne r3h,@0x1234:16 ;6a1812346236 81 bclr/ne r3h,@0x12345678:32 ;6a38123456786236 82 83 btst #0x7,r1h ;7371 84 btst #0x7,@er1 ;7c107370 85 btst #0x7,@0xffffff12:8 ;7e127370 86 btst #0x7,@0x1234:16 ;6a1012347370 87 btst #0x7,@0x12345678:32 ;6a30123456787370 88 89 btst r3h,r1h ;6331 90 btst r3h,@er1 ;7c106330 91 btst r3h,@0xffffff12:8 ;7e126330 92 btst r3h,@0x1234:16 ;6a1012346330 93 btst r3h,@0x12345678:32 ;6a30123456786330 94 95 bor #0x7,r1h ;7471 96 bor #0x7,@er1 ;7c107470 97 bor #0x7,@0xffffff12:8 ;7e127470 98 bor #0x7,@0x1234:16 ;6a1012347470 99 bor #0x7,@0x12345678:32 ;6a30123456787470 100 101 bior #0x7,r1h ;74f1 102 bior #0x7,@er1 ;7c1074f0 103 bior #0x7,@0xffffff12:8 ;7e1274f0 104 bior #0x7,@0x1234:16 ;6a10123474f0 105 bior #0x7,@0x12345678:32 ;6a301234567874f0 106 107 bxor #0x7,r1h ;7571 108 bxor #0x7,@er1 ;7c107570 109 bxor #0x7,@0xffffff12:8 ;7e127570 110 bxor #0x7,@0x1234:16 ;6a1012347570 111 bxor #0x7,@0x12345678:32 ;6a30123456787570 112 113 bixor #0x7,r1h ;75f1 114 bixor #0x7,@er1 ;7c1075f0 115 bixor #0x7,@0xffffff12:8 ;7e1275f0 116 bixor #0x7,@0x1234:16 ;6a10123475f0 117 bixor #0x7,@0x12345678:32 ;6a301234567875f0 118 119 band #0x7,r1h ;7671 120 band #0x7,@er1 ;7c107670 121 band #0x7,@0xffffff12:8 ;7e127670 122 band #0x7,@0x1234:16 ;6a1012347670 123 band #0x7,@0x12345678:32 ;6a30123456787670 124 125 biand #0x7,r1h ;76f1 126 biand #0x7,@er1 ;7c1076f0 127 biand #0x7,@0xffffff12:8 ;7e1276f0 128 biand #0x7,@0x1234:16 ;6a10123476f0 129 biand #0x7,@0x12345678:32 ;6a301234567876f0 130 131 bld #0x7,r1h ;7771 132 bld #0x7,@er1 ;7c107770 133 bld #0x7,@0xffffff12:8 ;7e127770 134 bld #0x7,@0x1234:16 ;6a1012347770 135 bld #0x7,@0x12345678:32 ;6a30123456787770 136 137 bild #0x7,r1h ;77f1 138 bild #0x7,@er1 ;7c1077f0 139 bild #0x7,@0xffffff12:8 ;7e1277f0 140 bild #0x7,@0x1234:16 ;6a10123477f0 141 bild #0x7,@0x12345678:32 ;6a301234567877f0 142 143 bst #0x7,r1h ;6771 144 bst #0x7,@er1 ;7d106770 145 bst #0x7,@0xffffff12:8 ;7f126770 146 bst #0x7,@0x1234:16 ;6a1812346770 147 bst #0x7,@0x12345678:32 ;6a38123456786770 148 149 bstz #0x7,@er1 ;7d106777 150 bstz #0x7,@0xffffff12:8 ;7f126777 151 bstz #0x7,@0x1234:16 ;6a1812346777 152 bstz #0x7,@0x12345678:32 ;6a38123456786777 153 154 bist #0x7,r1h ;67f1 155 bist #0x7,@er1 ;7d1067f0 156 bist #0x7,@0xffffff12:8 ;7f1267f0 157 bist #0x7,@0x1234:16 ;6a18123467f0 158 bist #0x7,@0x12345678:32 ;6a381234567867f0 159 160 bistz #0x7,@er1 ;7d1067f7 161 bistz #0x7,@0xffffff12:8 ;7f1267f7 162 bistz #0x7,@0x1234:16 ;6a18123467f7 163 bistz #0x7,@0x12345678:32 ;6a381234567867f7 164 165 bfld #0x34:8,@er1,r3h ;7c10f334 166 bfld #0x34:8,@0xffffff12:8,r3h ;7e12f334 167 bfld #0x34:8,@0x1234:16,r3h ;6a101234f334 168 bfld #0x34:8,@0x12345678:32,r3h ;6a3012345678f334 169 170 bfst r3h,#0x34:8,@er1 ;7d10f334 171 bfst r3h,#0x34:8,@0xffffff12:8 ;7f12f334 172 bfst r3h,#0x34:8,@0x1234:16 ;6a181234f334 173 bfst r3h,#0x34:8,@0x12345678:32 ;6a3812345678f334 174 175 .end 176