TC1796
System Units (Vol. 1 of 2)
Peripheral Control Processor (PCP)
User’s Manual 11-103 V2.0, 2007-07
PCP, V2.0
11.11.35 ST, Store
This section describes the ST instructions of the PCP.
ST.F Syntax ST.F Rb, [Ra], Size
Description Store the contents of register Rb to the address location
specified by the contents of register Ra. When the Size is byte
or half-word, the data is stored with the internal LSB (bit 0)
properly aligned to the correct FPI Bus byte or half-word lane.
Operation FPI[R[a]] = R[b]
Flags None
ST.IF Syntax ST.IF [Ra], #offset5, Size
Description Store the contents of R0 to the address location specified by
the addition of the contents of register Ra and the value
specified by imm5. When the Size is byte or half-word, the
data is stored with the internal LSB (bit 0) properly aligned to
the correct FPI Bus byte or half-word lane.
Operation FPI[R[a] + zero_ext(imm5)] = R[0]
Flags None
ST.P Syntax ST.P Rb, [Ra], cc_A
Description If condition CONDCA is true, then store the contents of Rb to
the PRAM address location specified by the addition of the
contents of the PRAM Data Pointer, shifted left by six bits, and
the zero-extended 6-bit value Ra[5:0]. If condition CONDCA
is false, no operation is performed.
Operation if (CONDCA = True) then PRAM[(DPTR<<6) +
zero_ext(R[a][5:0])] = R[b] else NOP
Flags None
ST.PI Syntax ST.PI Rb, [#offset6]
Description Store the contents of register Rb to the PRAM location
specified by the addition of the contents of the PRAM Data
Pointer, shifted left by six bits, and the zero-extended 6-bit
value offset6.
Operation PRAM[(DPTR<<6) + zero_ext(offset6)] = R[b]
Flags None