-
Notifications
You must be signed in to change notification settings - Fork 4
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
Is this going to work? #1
Comments
No, 6 bytes is just too much data. You can try doing all of the two byte instructions to help you get an initial layout. That might save you some time. |
Thanks for the reply @pjsoberoi. Ok, wow, so that will be heaps of manual work because most instructions I have for this programme are larger than 2 bytes! I have no experience in doing this for Ghidra. So I need to map each unique instruction byte sequence, or are there some instructions (i.e. jump/move with memory addresses, or instructions with different immediates) that I don't need to map? |
I recommend at least disassembling all instructions. If the disassembly engine comes across an unknown instruction everything stops. If the pcode for particular instructions is too much of a pain to implement I suppose leaving some as nops shouldn't be a problem. I actually ran GPMP on TMS in this thread: NationalSecurityAgency/ghidra#3990. I upload basically what would be the output of running it across all of the two byte instructions already. Maybe it will save you some time. Or maybe you can work with the other user in the thread . |
Thanks @pjsoberoi. I asked the other user again and he's now released what he has. https://github.com/ZPaul2Fresh8/Ghidra_TMS34010 :-) So that's a great start! |
With TMS CPU instructions which can contain up to 6 byte instructions?
Many thanks in advance.
The text was updated successfully, but these errors were encountered: