Lines Matching refs:r8
29 ldr r8, [r4] @ read arm instruction
31 tst r8, #1 << 20 @ L = 1 -> write?
33 and r7, r8, #15 << 24
58 mov r1, r8
62 tst r8, #1 << 21 @ check writeback bit
67 and r6, r8, r7
68 and r9, r8, r7, lsl #1
70 and r9, r8, r7, lsl #2
72 and r9, r8, r7, lsl #3
77 and r9, r8, #15 << 16 @ Extract 'n' from instruction
79 tst r8, #1 << 23 @ Check U bit
87 tst r8, #1 << 21 @ Check writeback bit
91 and r9, r8, #0x00f @ get Rm / low nibble of immediate value
92 tst r8, #1 << 22 @ if (immediate offset)
93 andne r6, r8, #0xf00 @ { immediate high nibble
97 and r9, r8, #15 << 16 @ Extract 'n' from instruction
99 tst r8, #1 << 23 @ Check U bit
107 tst r8, #1 << 21 @ check writeback bit
110 movs r6, r8, lsl #20 @ Get offset
113 and r9, r8, #15 << 16 @ Extract 'n' from instruction
115 tst r8, #1 << 23 @ Check U bit
123 tst r8, #1 << 21 @ check writeback bit
126 and r7, r8, #15 @ Extract 'm' from instruction
129 mov r9, r8, lsr #7 @ get shift count
131 and r7, r8, #0x70 @ get shift type
169 ldrh r8, [r4] @ read instruction
171 tst r8, #1 << 11 @ L = 1 -> write?
173 and r7, r8, #15 << 12
195 tst r8, #1 << 9
197 tst r8, #1 << 10 @ If 'S' (signed) bit is set
202 tst r8, #1 << 10
205 and r6, r8, #0x55 @ hweight8(r8) + R bit
206 and r9, r8, #0xaa
211 movs r7, r8, lsr #9 @ C = r8 bit 8 (R bit)
215 tst r8, #1 << 11
224 and r6, r8, #0x55 @ hweight8(r8)
225 and r9, r8, #0xaa
231 and r9, r8, #7 << 8