jne在eax中的价值

The*_*ngK 4 x86 assembly

对于一个类,我需要进行值$ 0x55683af8的条件跳转:但是这段代码无效.我怎么能跳到以下值?

 mov    $0x55683af8,%eax
 cmpl   $0xdeadbeef,0x0(%ebp)
 jne    *%eax
Run Code Online (Sandbox Code Playgroud)

GJ.*_*GJ. 6

您不能将条件跳转与寄存器结合使用,而是可以执行...

 mov    $0x55683af8,%eax
 cmpl   $0xdeadbeef,0x0(%ebp)
 je     Skip 
 jmp    *%eax        //or call
Skip
Run Code Online (Sandbox Code Playgroud)