-
Notifications
You must be signed in to change notification settings - Fork 34
Instruction Parsing Problems #38
Comments
These are all correct. They are simplified. For example |
dmove is not a valid instruction in the emotion engine though. That's the problem. |
I think it would be nice to have an option to disable those macros. |
I don't think it would be very easy to add an option to enable/disable these instructions because of how sleigh works, but I might be wrong. We could remove them as they may no longer be required - but, my guess is that it would be a breaking change and might break existing projects. Edit: upon further investigation, we could make this pseudo instructions optional using a flag. |
Just as a reference, PCSX2's debugger was implemented by the same person that made armips, and as such it has some macros defined, but you can still view the un-macro'd instrunctions (and the bytes they are decoded from) by pressing tab in the assembly view |
We could. Not sure if we mean the same thing, but we could also use the context register. You would need to redisassemble to see the changes though. |
It seems at least one instruction is not parsed properly by Ghidra.
I have built a .S file. When I open the resulting ELF file in Ghidra, it misidentifies some of the instructions.
The .S file:
Ghidra
NOTE: The reason the .S file looks funky is because it's auto-generated.
The text was updated successfully, but these errors were encountered: