TriCore
®
TC1.6P & TC1.6E
32-bit Unified Processor Core
Instruction Set
V1.0 2013-07
User Manual (Volume 2) 3-158
new_index = new_index < 0 ? new_index+length : new_index % length;
A[b+1] = {length[15:0], new_index[15:0]};
LD.DE[a], A[b], off10 (BO)(Post-increment Addressing Mode)
EA = A[b];
E[a] = M(EA, doubleword);
A[b] = EA + sign_ext(off10);
LD.DE[a], A[b], off10 (BO)(Pre-increment Addressing Mode)
EA = A[b] + sign_ext(off10);
E[a] = M(EA, doubleword);
A[b] = EA;
Status Flags
Examples
ld.d e0, [a0]
ld.d d0/d1, [a0]
ld.d e4, [a10+]4
See Also
LD.A, LD.B, LD.BU, LD.DA, LD.H, LD.HU, LD.Q, LD.W
C Not set by this instruction.
V Not set by this instruction.
SV Not set by this instruction.
AV Not set by this instruction.
SAV Not set by this instruction.
31
off10[9:6]
28 27
05
H
22 21
off10[5:0]
16 15
b
12 11
a
8 7
09
H
0
31
off10[9:6]
28 27
15
H
22 21
off10[5:0]
16 15
b
12 11
a
8 7
09
H
0