Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_V_Intel
Employee
96 Views

Inline assembler jump through eBX

Hi,

I'm trying to compile the following code, and I keep getting a warning indicating the compiler is expecting an indirect jump, but I want the direct form of the jump.  How do I trick the compiler into doing what I want?  The specific warning is "/usr/tmp/iccuUW8dVas_.s:59: Warning: indirect jmp without `*'", and if I add the indirect construction, the compiler is happy, but the code goes into the weeds.

    asm (

        "movl    $0xfff06278, %%ebx\n"

        "jmp     %%ebx\n"

        ::: "ebx"

    );

0 Kudos
0 Replies
Reply