![Infineon Technologies TC1796 User Manual Download Page 629](http://html1.mh-extra.com/html/infineon-technologies/tc1796/tc1796_user-manual_2055437629.webp)
TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual
11-92
V2.0, 2007-07
PCP, V2.0
LD.P
Syntax
LD.P Rb, [Ra], cc_A
Description
If condition CONDCA is true, then load the contents of the
PRAM address location, specified by the addition of contents
of the PRAM Data Pointer, shifted left by six bits, and the
zero-extended 6-bit value Ra[5:0] into register Rb. If
condition CONDCA is false, no operation is performed.
Operation
if (CONDCA = True) then R[b] = PRAM[(DPTR<<6) +
zero_ext(R[a][5:0])] else NOP
Flags
N, Z
LD.PI
Syntax
LD.PI Ra, [#offset6]
Description
Load the contents of the PRAM location specified by the
addition of contents of the PRAM Data Pointer, shifted left by
six bits, and the zero-extended 6-bit value offset6 into
register Ra.
Operation
R[a] = PRAM[(DPTR<<6) + zero_ext(offset6)]
Flags
N, Z