Lines Matching refs:r8
28 ldr r8, [r4] @ read arm instruction
29 tst r8, #1 << 20 @ L = 1 -> write?
31 and r7, r8, #15 << 24
53 mov r1, r8
57 tst r8, #1 << 21 @ check writeback bit
61 and r6, r8, r7
62 and r9, r8, r7, lsl #1
64 and r9, r8, r7, lsl #2
66 and r9, r8, r7, lsl #3
71 and r9, r8, #15 << 16 @ Extract 'n' from instruction
73 tst r8, #1 << 23 @ Check U bit
80 tst r8, #1 << 21 @ Check writeback bit
83 and r9, r8, #0x00f @ get Rm / low nibble of immediate value
84 tst r8, #1 << 22 @ if (immediate offset)
85 andne r6, r8, #0xf00 @ { immediate high nibble
89 and r9, r8, #15 << 16 @ Extract 'n' from instruction
91 tst r8, #1 << 23 @ Check U bit
98 tst r8, #1 << 21 @ check writeback bit
101 movs r6, r8, lsl #20 @ Get offset
103 and r9, r8, #15 << 16 @ Extract 'n' from instruction
105 tst r8, #1 << 23 @ Check U bit
112 tst r8, #1 << 21 @ check writeback bit
115 and r7, r8, #15 @ Extract 'm' from instruction
117 mov r9, r8, lsr #7 @ get shift count
119 and r7, r8, #0x70 @ get shift type
157 ldrh r8, [r4] @ read instruction
158 tst r8, #1 << 11 @ L = 1 -> write?
160 and r7, r8, #15 << 12
182 tst r8, #1 << 9
184 tst r8, #1 << 10 @ If 'S' (signed) bit is set
189 tst r8, #1 << 10
191 and r6, r8, #0x55 @ hweight8(r8) + R bit
192 and r9, r8, #0xaa
197 movs r7, r8, lsr #9 @ C = r8 bit 8 (R bit)
201 tst r8, #1 << 11
208 and r6, r8, #0x55 @ hweight8(r8)
209 and r9, r8, #0xaa
215 and r9, r8, #7 << 8