By disassembling some binary code I've found the near call instruction call 0x8ae
which is encoded as e8 97 08 00 00
.
Looking at an instruction set reference I've found that these kind of instructions are encoded as:
call XX XX XX XX <==> e8 XX XX XX XX
being XX XX XX XX
the 32-bit displacement relative to the next instruction.
I don't understand why the disassembled instruction is encoded as e8 97 08 00 00
. I would have expected an encoding of e8 ae 08 00 00
instead.