This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

simple swap and call routine from X86 to C674x

Hi,

Please, i need help to translate following swap and call routine into C674x assembly

    __asm {
        mov ecx, stack
        lea esp, [ecx - 4]
        and esp, -16
        mov eax, ret_info
        mov [esp], eax
        call entry
    }

the tree last instructions could be :

ADDKPC ret_info, B3

CALLP  .S2 entry, B3

but what about the first (swap) ?