DMOV
Data Move in Data Memory
7-66
Syntax
DMOV
dma
Direct addressing
DMOV
ind [, ARn]
Indirect addressing
Operands
dma:
7 LSBs of the data-memory address
n:
Value from 0 to 7 designating the next auxiliary register
ind:
Select one of the following seven options:
* *+ *– *0+ *0– *BR0+ *BR0–
DMOV
dma
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
0
1
1
1
0
dma
DMOV
ind [, ARn]
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
1
1
1
0
1
1
1
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 ...
(data-memory address)
→
data-memory a 1
Status Bits
Affected by
CNF
Description
The contents of the specified data-memory address are copied into the con-
tents of the next higher address. When data is copied from the addressed loca-
tion to the next higher location, the contents of the addressed location remain
unaltered.
DMOV works only within on-chip data RAM blocks. It works within any confi-
gurable RAM block if that block is configured as data memory. In addition, the
data move function is continuous across block boundaries. The data move
function cannot be performed on external data memory. If the instruction spec-
ifies an external memory address, DMOV reads the specified memory location
but performs
no operations.
The data move function is useful in implementing the z
–1
delay encountered
in digital signal processing. The DMOV function is a subtask of the LTD and
MACD instructions (see the LTD and MACD instructions for more information).
Words
1
Opcode