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 [<label>] lrlk <ar>,<constant> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
SYNTAX      [<LABEL>] LRLK <AR>,<constant>

OPERANDS    0 . next ARP . 7; 0 . constant . 65535.

EXECUTION   (PC) + 2 . PC
            Constant . AR
            Not affected by SXM; does not affect SXM.

DESCRIPTION The 16-bit immediate value is loaded into the auxiliary
            register specified by the AR field. The specified constant
            must be an unsigned integer, and its value is not affected by
            SXM.

WORDS       2

ENCODING    15 14 13 12 11 10  9  8  7  6  5  4  3  2  1  0
            +-----------------------------------------------+
            |1  1  0  1  0|   AR   | 0  0  0  0  0  0  0  0 |
            |-----------------------------------------------|
            |                16-bit constant                |
            +-----------------------------------------------+

CYCLES

            +------------------------------------------------+
            |    Cycle Timings for a Single Instruction      |
            |------------------------------------------------|
            | PI/DI | PI/DE | PE/DI | PE/DE  | PR/DI | PR/DE |
            |-------+-------+-------+--------+-------+-------|
      '20   |   2   |   2   | 2+2p  |  2+2p  |   -   |   -   |
            |-------+-------+-------+--------+-------+-------|
     'C25   |   2   |   2   | 2+2p  |  2+2p  |   2   |   2   |
            |------------------------------------------------|
            |    Cycle Timings for a Repeat Instruction      |
            |------------------------------------------------|
      '20   |          not repeatable        |   -   |   -   |
            |------------------------------------------------|
     'C25   |                not repeatable                  |
            +------------------------------------------------+



EXAMPLE     LRLK  AR3,>3080

               BEFORE             AFTER

            AR3 >7F80         AR3 >3080

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