rust-x86asm icon indicating copy to clipboard operation
rust-x86asm copied to clipboard

Fix encoding of instructions with add_opcode and REX registers

Open ftilde opened this issue 7 years ago • 0 comments

This fixes encoding of 'POP R8', 'PUSH R15', etc.

Previously, no "rex byte" was generated when using REX registers with instructions that use opcode_add and the register code (>= 0x8) overflowed into the primary opcode, thus changing the instruction in itself.

ftilde avatar Oct 27 '18 11:10 ftilde