Quantcast
Channel: Intel® C++-Compiler
Viewing all articles
Browse latest Browse all 1665

Inline assembler jump through eBX

$
0
0

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"

    );


Viewing all articles
Browse latest Browse all 1665

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>