Sacl – Texas Instruments TMS320C2XX User Manual
Page 303
SACL
Store Low Accumulator With Shift
7-150
Syntax
SACL
dma [, shift2 ]
Direct addressing
SACL ind [,
shift2 [, ARn] ]
Indirect addressing
Operands
dma:
7 LSBs of the data-memory address
shift2:
Left shift value from 0 to 7 (defaults to 0)
n:
Value from 0 to 7 designating the next auxiliary register
ind:
Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
SACL
dma [ , shift2 ]
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
0
0
1
0
shift2
0
dma
SACL
ind [ , shift 2 [ , ARn ] ]
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
1
0
0
1
0
shift2
1
ARU
N
NAR
Note:
ARU, N, and NAR are defined in Section 6.3,
Indirect Addressing Mode (page 6-9).
Execution
Increment PC, then ...
16 LSBs of ((ACC)
2
shift2
)
→
data-memory address
Status Bits
This instruction is not affected by SXM.
Description
The SACL instruction copies the entire accumulator into the output shifter,
where it left shifts the entire 32-bit number from 0 to 7 bits. It then copies the
lower 16 bits of the shifted value into data memory. During the shift, the
low-order bits are filled with zeros, and the high-order bits are lost. The
accumulator itself remains unaffected.
Words
1
Cycles for a Single SACL Instruction
Program
Operand
ROM
DARAM
SARAM
External
DARAM
1
1
1
1+p
SARAM
1
1
1, 2
†
1+p
External
2+d
2+d
2+d
4+d+p
† If the operand and the code are in the same SARAM block.
Opcode
Cycles