84. Move to/from USP (privileged)

84.1. Name

MOVE USP -- Move to/from user stack pointer (privileged)

84.2. Synopsis

        MOVE        USP,An
        MOVE        An,USP

        Size = (Long)

84.3. Function

The contents of the user stack pointer are transferred either to or from the specified address register.

84.4. Format

        -----------------------------------------------------------------
        |15 |14 |13 |12 |11 |10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
        |---|---|---|---|---|---|---|---|---|---|---|---|---|-----------|
        | 0 | 1 | 0 | 0 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 |dr | REGISTER  |
        -----------------------------------------------------------------

        "REGISTER" indicates the number of address register.

        dr specifies move direction:
        0->An to USP
        1->USP to An

84.5. Result

        None.

84.6. See also

MOVE from CCR MOVE to CCR MOVE from SR MOVE to SR