Fix jmp/call near offsets in long mode
commitbf0f42390d8eda2ce1b07a7d94fa5b041820c332
authorBen Rudiak-Gould <benrudiak@gmail.com>
Wed, 20 Feb 2013 19:25:59 +0000 (20 23:25 +0400)
committerCyrill Gorcunov <gorcunov@gmail.com>
Wed, 20 Feb 2013 19:25:59 +0000 (20 23:25 +0400)
treeae5cd2e69d38b48de38a3207bb37dc68444a2908
parentd7ab1f963823edc1156e19077769585089b13a89
Fix jmp/call near offsets in long mode

In long mode relative offsets are always 32 bits sign-extended to 64
bits and absolute near addresses are always 64 bits, regardless of the
operand size.

Signed-off-by: Ben Rudiak-Gould <benrudiak@gmail.com>
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
disasm.c
insns.dat