EasyManua.ls Logo

Infineon TriCore TC1.6P - INS.T - Insert Bit; INSN.T - Insert Bit-Not

Infineon TriCore TC1.6P
484 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-114
INS.T
Insert Bit
INSN.T
Insert Bit-Not
Description
Move the value of D[a] to D[c] with either:
For INS.T, bit pos1 of this value replaced with bit pos2 of register D[b].
For INSN.T, bit pos1 of this value replaced with the inverse of bit pos2 of register D[b].
INS.TD[c], D[a], pos1, D[b], pos2 (BIT)
D[c] = {D[a][31:(pos1+1)], D[b][pos2], D[a][(pos1-1):0]};
INSN.TD[c], D[a], pos1, D[b], pos2 (BIT)
D[c] = {D[a][31:(pos1+1)], !D[b][pos2], D[a][(pos1-1):0]};
Status Flags
Examples
ins.t d3, d1, #5, d2, #7
insn.t d3, d1, #5, d2, #7
See Also
DEXTR, EXTR, EXTR.U, INSERT
C Not set by these instructions.
V Not set by these instructions.
SV Not set by these instructions.
AV Not set by these instructions.
SAV Not set by these instructions.
31
c
28 27
pos2
23 22
00
H
21 20
pos1
16 15
b
12 11
a
8 7
67
H
0
31
c
28 27
pos2
23 22
01
H
21 20
pos1
16 15
b
12 11
a
8 7
67
H
0

Table of Contents

Related product manuals