Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TMS320C2x DSP - syntax direct [<label>] dmov <dma> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SYNTAX      DIRECT   [<LABEL>] DMOV <dma>
            INDIRECT [<LABEL>] DMOV {ind}[,<next ARP>]

OPERANDS    0 . dma . 127; 0 . next ARP . 7.

EXECUTION   (PC) + 1 . PC
            (dma) . dma + 1
            Affected by CNF.

DESCRIPTION The contents of the specified data memory address are copied
            into the contents of the next higher address. DMOV only works
            with the on-chip data RAM blocks B0, B1 and B2. It works
            within B0 if it is configured as data memory, and the data
            move function is continuous across the boundaries of blocks
            B0 and B1, i.e., it works for locations 512 to 1023. The data
            move function cannot be used on external data memory. If used
            on external data memory or memory-mapped registers, DMOV will
            read the specified memory location but will perform no other
            operations.

            When data is copied from the addressed location to the next
            higher location, the contents of the addressed location remain
            unaltered.

            The data move function is useful in implementing the z^-1
            delay encountered in digital signal processing. The DMOV
            function is included in the LTD and MACD instructions (see the
            LTD and MACD instructions for more information).

WORDS       1

ENCODING    15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
            +-----------------------------------------------+
            |0  1  0  1  0  1  1  0| 0| data memory address | DIRECT
            +-----------------------------------------------+

            15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
            +-----------------------------------------------+
            |0  1  0  1  0  1  1  0| 1| see indirect fields | INDIRECT
            +-----------------------------------------------+

CYCLES

            +------------------------------------------------+
            |    Cycle Timings for a Single Instruction      |
            |------------------------------------------------|
            | PI/DI | PI/DE | PE/DI | PE/DE  | PR/DI | PR/DE |
            |-------+-------+-------+--------+-------+-------|
      '20   |   1   |  2+d  |  1+p  | 2+d+p  |   -   |   -   |
            |-------+-------+-------+--------+-------+-------|
     'C25   |   1   |  2+d  |  1+p  | 2+d+p  |   1   |  2+d  |
            |------------------------------------------------|
            |    Cycle Timings for a Repeat Instruction      |
            |------------------------------------------------|
      '20   |   n   | 2n+nd |  n+p  |2n+nd+p |   -   |   -   |
            |-------+-------+-------+--------+-------+-------|
     'C25   |   n   | 1+n+nd|  n+p  |1+n+nd+p|   n   |1+n+nd |
            +------------------------------------------------+



EXAMPLE     DMOV  DAT8        (DP = 4)
            or
            DMOV  *           If current auxiliary register contains 520.


             BEFORE               AFTER

          dm520 >43           dm520 >43
          dm521  >2           dm521 >43

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson