Texas Instruments TMS320C2XX Calculator User Manual


 
Load Low Accumulator and Clear High Accumulator
LACL
7-75
Assembly Language Instructions
Syntax LACL
dma
Direct addressing
LACL
ind
[, AR
n
] Indirect addressing
LACL #
k
Short immediate
Operands dma: 7 LSBs of the data-memory address
n: Value from 0 to 7 designating the next auxiliary register
k: 8-bit short immediate value
ind: Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
LACL
dma
1514131211109876543210
0
11010010 dma
LACL
ind
[, AR
n
]
1514131211109876543210
0
11010011 ARU N NAR
Note: ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode
(page 6-9).
LACL #
k
1514131211109876543210
1
0111001 k
Execution Increment PC, then ...
Events Addressing mode
0 ACC(31:16) Direct or indirect
(data-memory address) ACC(15:0)
0 ACC(31:8) Short immediate
k ACC(7:0)
Status Bits This instruction is not affected by SXM.
Description The contents of the addressed data-memory location or a zero-extended 8-bit
constant are loaded into the 16 low-order bits of the accumulator. The upper
half of the accumulator is zeroed. The data is treated as an unsigned 16-bit
number rather than a 2s-complement number. There is no sign extension of
the operand with this instruction, regardless of the state of SXM.
Words 1
Opcode