flat assembler
Message board for the users of flat assembler.
Index
> Windows > Newbie questions about rebuilding disassembled functions |
Author |
|
revolution 15 Aug 2012, 21:24
You didn't state your output format? Is it intended to be a binary output? Or are you using this in a PE format? Either way all you need to do is make sure that you place the assembled code into the appropriate place in memory and everything should work as intended.
As for the different opcodes, this is something that you cannot control. Different assemblers generate different code and it is kind of a "signature" that shows which assembler was used. The only time this might affect you is when the code has a checksum, CRC or hash that will change with different encoding, and/or when a shorter or longer instruction encoding is used. |
|||
15 Aug 2012, 21:24 |
|
aquas 15 Aug 2012, 21:41
Everything is raw binary output at this point. So I would just directly patch in any output from FASM.
I just wanted to make sure that having multiple org directives all over the place wouldn't break anything. Cool. Thank you for clarifying the opcodes issue also. |
|||
15 Aug 2012, 21:41 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.