How to determine if ModR/M is needed through Opcodes?
Intel’s vol.2 manual has details on the encoding of operands for each form of each instruction. E.g. taking just the 8-bit operand size versions of the well-known add instruction, which has 2 reg,rm forms ; a rm,immediate form ; and a no-ModRM 2-byte short form for add al, imm8 Opcode Instruction | Op/En | 64-bit … Read more