Lines Matching refs:R2

6 ULP coprocessor has 4 16-bit general purpose registers, labeled R0, R1, R2, R3. It also has an 8-bi…
54 MOVE R2, 0x1234
55 ST R2, R1, 0 // write value of R2 into the first array element,
58 ST R2, R1, 4 // write value of R2 into the second array element
62 ST R2, R1, 0 // write value of R2 into the third array element,
126 1: ADD R1, R2, R3 //R1 = R2 + R3
128 2: Add R1, R2, 0x1234 //R1 = R2 + 0x1234
131 Add R1, R2, value1 //R1 = R2 + value1
135 Add R1, R2, label //R1 = R2 + label
162 1: SUB R1, R2, R3 //R1 = R2 - R3
164 2: sub R1, R2, 0x1234 //R1 = R2 - 0x1234
167 SUB R1, R2, value1 //R1 = R2 - value1
169 SUB R1, R2, label //R1 = R2 - label
196 1: AND R1, R2, R3 //R1 = R2 & R3
198 2: AND R1, R2, 0x1234 //R1 = R2 & 0x1234
201 AND R1, R2, value1 //R1 = R2 & value1
204 AND R1, R2, label //R1 = R2 & label
231 1: OR R1, R2, R3 //R1 = R2 \| R3
233 2: OR R1, R2, 0x1234 //R1 = R2 \| 0x1234
236 OR R1, R2, value1 //R1 = R2 \| value1
239 OR R1, R2, label //R1 = R2 \|label
267 1: LSH R1, R2, R3 //R1 = R2 << R3
269 2: LSH R1, R2, 0x03 //R1 = R2 << 0x03
272 LSH R1, R2, value1 //R1 = R2 << value1
275 LSH R1, R2, label //R1 = R2 << label
302 1: RSH R1, R2, R3 //R1 = R2 >> R3
304 2: RSH R1, R2, 0x03 //R1 = R2 >> 0x03
307 RSH R1, R2, value1 //R1 = R2 >> value1
310 RSH R1, R2, label //R1 = R2 >> label
339 1: MOVE R1, R2 //R1 = R2
375 1: ST R1, R2, 0x12 //MEM[R2+0x12] = R1
382 MOVE R2, Addr1 // R2 = Addr1
383 ST R1, R2, offs // MEM[R2 + 0] = R1
410 1: LD R1, R2, 0x12 //R1 = MEM[R2+0x12]
417 MOVE R2, Addr1 // R2 = Addr1 / 4 (address of label is converted into words)
418 LD R1, R2, offs // R1 = MEM[R2 + 0]