|
![](static/image/common/ico_lz.png)
楼主 |
发表于 2010-11-11 15:35:26
|
显示全部楼层
反汇编代码如下:
95: aaa[i&0x07] = i+1;
0x0C000380 E2820001 ADD R0,R2,#0x00000001
0x0C000384 E2021007 AND R1,R2,#0x00000007
0x0C000388 E59F307C LDR R3,[PC,#0x007C]
0x0C00038C E7C30001 STRB R0,[R3,R1]
96: k = aaa[i&0x07];
0x0C000390 E2020007 AND R0,R2,#0x00000007
0x0C000394 E2831000 ADD R1,R3,#0x00000000
0x0C000398 E7D10000 LDRB R0,[R1,R0]
0x0C00039C E59F106C LDR R1,[PC,#0x006C]
0x0C0003A0 E5C10000 STRB R0,[R1]
97: bbb[i&0x07] = k;
0x0C0003A4 E2810000 ADD R0,R1,#0x00000000
0x0C0003A8 E5D00000 LDRB R0,[R0]
0x0C0003AC E2021007 AND R1,R2,#0x00000007
0x0C0003B0 E59F305C LDR R3,[PC,#0x005C]
0x0C0003B4 E7C30001 STRB R0,[R3,R1]
98: ccc[i&0x07] = k;
0x0C0003B8 E59F0050 LDR R0,[PC,#0x0050]
0x0C0003BC E5D00000 LDRB R0,[R0]
0x0C0003C0 E2021007 AND R1,R2,#0x00000007
0x0C0003C4 E59F304C LDR R3,[PC,#0x004C]
0x0C0003C8 E7C30001 STRB R0,[R3,R1]
99: i++;
0x0C0003CC E2820001 ADD R0,R2,#0x00000001
0x0C0003D0 E20020FF AND R2,R0,#0x000000FF |
|