Where is it possible to find a list of x86 instructions (and x64 instructions) with the (hex) opcode and the length/size in bytes of the instructions, such as:
NOP= 1 byte
JMP= 5 bytes
MOV= 2 bytes
PUSH= 1 byte
PUSH= 2 bytes
PUSH= 5 bytes
Unsure if all of them are correct.
I've been using this wonderful list, to look through instructions and their opcodes, but it doesn't contain the full length/size in bytes of each opcode.
What confuses me a bit more, is how it at the beginning mentions "one-byte opcodes" and "two-byte opcodes". While the
JMP command would be 5 bytes (1 byte for
JMP command, 4 bytes for jump distance).
I don't specifically need a list per se. Overall I'm just searching for a way to deduce the length of instructions.