Texas Instruments TMS320C2XX Calculator User Manual


 
Instruction Set Comparison Table
B-19
TMS320C1x/C2x/C2xx/C5x Instruction Set Comparison
Syntax
Description5x2xx2x1x
INTR
K
Soft Interrupt
Transfer program control to the program-memory ad-
dress specified by
K
(an integer from 0 to 31). This in-
struction allows you to use your software to execute
any interrupt service routine. The interrupt vector loca-
tions are spaced apart by two addresses (0h, 2h, 4h,
... , 3Eh), allowing a two-word branch instruction to be
placed at each location.
LAC
dma
[
, shift
]
LAC {
ind
} [
, shift
[
, next ARP
]]
Load Accumulator With Shift
Load the contents of the addressed data-memory lo-
cation into the accumulator. If a shift is specified, left
shift the value before loading it into the accumulator.
During shifting, low-order bits are zero filled, and high-
order bits are sign extended if SXM = 1.
LACB
Load Accumulator With ACCB
Load the contents of the accumulator buffer into the
accumulator.
LACC
dma
[
, shift
1
]
LACC {
ind
} [
, shift
1
[
, next ARP
]]
LACC #
lk
[
, shift
2
]
Load Accumulator With Shift
Load the contents of the addressed data-memory lo-
cation or the 16-bit constant into the accumulator. If a
shift is specified, left shift the value before loading it
into the accumulator. During shifting, low-order bits are
zero filled, and high-order bits are sign extended if
SXM = 1.
LACK
8-bit constant
Load Accumulator Immediate Short
Load an 8-bit constant into the accumulator. The 24
MSBs of the accumulator are zeroed.
LACL
dma
LACL {
ind
} [
, next ARP
]
LACL #
k
Load Low Accumulator and Clear High
Accumulator
Load the contents of the addressed data-memory lo-
cation or zero-extended 8-bit constant into the 16
LSBs of the accumulator. The MSBs of the accumula-
tor are zeroed. The data is treated as a 16-bit unsigned
number.
TMS320C2xx: A constant of 0 clears the contents of
the accumulator to 0 with no sign extension.