1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| 1547: y &= 223; // the 6th bit of y is cleared (zeroed) first
0x00001486 4608 MOV r0,r1
0x00001488 6800 LDR r0,[r0,#0x00]
0x0000148A F00000DF AND r0,r0,#0xDF
0x0000148E 6008 STR r0,[r1,#0x00]
1548: if (x & 4) // mask for the 3rd bit of x, if it is not zero then:
0x00001490 480F LDR r0,[pc,#60] ; @0x000014D0
0x00001492 6800 LDR r0,[r0,#0x00]
0x00001494 F0100F04 TST r0,#0x04
0x00001498 D003 BEQ 0x000014A2
1549: y += 32; // set the 6th bit of y
0x0000149A 4608 MOV r0,r1
0x0000149C 6800 LDR r0,[r0,#0x00]
0x0000149E 3020 ADDS r0,r0,#0x20
0x000014A0 6008 STR r0,[r1,#0x00] |