-
Hi All, I created another one that should disassemble, and reassemble the previously mentioned Hello World program. Disassembling seems to work totally fine, I can print the assembly instructions to the console, but when I try to reassemble it, I get the following error:
My code looks like this (I used the examples as baseline):
Any ideas, about what might cause this or how to debug the issue? (I am not really familiar with assembly programming) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You decoded an invalid instruction and since it's not an instruction, it can't be re-encoded. Don't decode data, eg. follow branches to find the real code and only encode that code. Google basic blocks. |
Beta Was this translation helpful? Give feedback.
You decoded an invalid instruction and since it's not an instruction, it can't be re-encoded. Don't decode data, eg. follow branches to find the real code and only encode that code. Google basic blocks.