How to enforce the assembler to emit code using using specific encoding? [duplicate]
问题 This question already has answers here : What methods can be used to efficiently extend instruction length on modern x86? (4 answers) How do GNU assembler x86 instruction suffixes like “.s” in “mov.s” work? (1 answer) How to disassemble, modify and then reassemble a Linux executable? (8 answers) Closed last year . Yesterday, I got caught a problem on re-asselembling the disassembly. My experiment was like below. : 1. Disassemble binary_A into A.s 2. Re-assemble A.s into binary_A' I expected