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