-
Notifications
You must be signed in to change notification settings - Fork 26
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
Fix MOV gp,r0 instruction decode error #7
base: master
Are you sure you want to change the base?
Conversation
Usually can be found at end of functions
Egor, |
I'm compare Ghidra and Ida Pro 7.2 for Renesas uPD70F3423 processor. It's a V850E/Dx3 - DJ3/DL3 family. Well disassembled in Ida project - dump from my Hyundai instrument cluster. But Ida shown "04 00" as "mov gp, r0". It's a some type of "do nothing" code in firmware like "nop" just for alignment next instruction. Most time it present after return call at end of functions. Do you have some binary with 04 00 opcodes or it's just one of used for this clusters compiler peculiarity? |
Oops, I'm a bit mistakes in my last comment. But now I'm checked v850E2M datasheet too and find that you are right about MOV instruction. r1115 can't be = 0 for v850E2M. |
I am tested this module only with Toyota ECU fw. They use 00 00 (it is PS please, don't use apostrophe located on 'ё' button, use one located on 'э'. Currently you broke markdown parser. |
E2M user manual, page 117: |
You are right. This restriction made for E2M because E1 & E2 have no such restriction. |
Usually can be found at end of functions