Lines Matching refs:r8
28 ldr r8, [r4] @ read arm instruction
30 tst r8, #1 << 20 @ L = 1 -> write?
32 and r7, r8, #15 << 24
54 mov r1, r8
58 tst r8, #1 << 21 @ check writeback bit
62 and r6, r8, r7
63 and r9, r8, r7, lsl #1
65 and r9, r8, r7, lsl #2
67 and r9, r8, r7, lsl #3
72 and r9, r8, #15 << 16 @ Extract 'n' from instruction
74 tst r8, #1 << 23 @ Check U bit
81 tst r8, #1 << 21 @ Check writeback bit
84 and r9, r8, #0x00f @ get Rm / low nibble of immediate value
85 tst r8, #1 << 22 @ if (immediate offset)
86 andne r6, r8, #0xf00 @ { immediate high nibble
90 and r9, r8, #15 << 16 @ Extract 'n' from instruction
92 tst r8, #1 << 23 @ Check U bit
99 tst r8, #1 << 21 @ check writeback bit
102 movs r6, r8, lsl #20 @ Get offset
104 and r9, r8, #15 << 16 @ Extract 'n' from instruction
106 tst r8, #1 << 23 @ Check U bit
113 tst r8, #1 << 21 @ check writeback bit
116 and r7, r8, #15 @ Extract 'm' from instruction
118 mov r9, r8, lsr #7 @ get shift count
120 and r7, r8, #0x70 @ get shift type
158 ldrh r8, [r4] @ read instruction
160 tst r8, #1 << 11 @ L = 1 -> write?
162 and r7, r8, #15 << 12
184 tst r8, #1 << 9
186 tst r8, #1 << 10 @ If 'S' (signed) bit is set
191 tst r8, #1 << 10
193 and r6, r8, #0x55 @ hweight8(r8) + R bit
194 and r9, r8, #0xaa
199 movs r7, r8, lsr #9 @ C = r8 bit 8 (R bit)
203 tst r8, #1 << 11
210 and r6, r8, #0x55 @ hweight8(r8)
211 and r9, r8, #0xaa
217 and r9, r8, #7 << 8