- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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"
);
Link Copied
0 Replies

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page