-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSP430 disassembly, missing indicator for Immediate Value or Memory Location #3324
Comments
@moste00 since you are working on MSP430 RzIL and updating disassembly, could you please check this one as well? |
Hello @mattmattandmatt, could you provide the binary you were working on, or a any reproducing binary? |
Hello, here is the binary. EDIT: oh the config data stored at [0x1000] - [0x1073] in Analog2 maybe incorrect. So its best to ignore that (even though the checksum is correct) |
@XVilka @mattmattandmatt Hello guys, here's an investigation of this issue: 1- The MSP430 disassembly plugin is fine. As a matter of fact, invoking (Shoutout to the great person behind https://github.com/Swiftloke/MSProbe, a Python disassembler for msp430 which I used to assemble 2- Which brings us to the main reason the indicators aren't showing: Assembly syntax. That is, this if condition in 3- As for why the assembly is not AT&T, that's simply the initialization logic for So that's the whole issue in a nutshell, different assembly syntaxes make the MSP430 plugin remove the The quickest and cleanest fix is to simply make the default syntax to be AT&T, but it's also worth asking why does other syntaxes than AT&T necessarily mandate removal of |
@moste00 Thank you for the investigation. I was not aware of the Intel/AT&T thing. |
@moste00 the Intel syntax still should show these indicators, so this has to be fixed. |
After I have disassembled a MSP430 binary, I do not see an "#" or "(0x1234)" or "@" to show it is a Immediate Value or Memory Location. It just shows the plain hex numbers.
There are some parenthesis that appear. But they show only when Memory offsets are used.
The text was updated successfully, but these errors were encountered: