Skip to content

v1.2

Latest
Compare
Choose a tag to compare
@DiscoStarslayer DiscoStarslayer released this 18 May 22:05
· 11 commits to main since this release

Features

Utilized GNU FR60 cross compiler to generate ghidra p-code test suite and validate decompilation logic. Identified following issues:

  • LDM Byte order reversed from SDM, not reflected in decomp - [FIXED]
  • Branch instruction delay slot ordering not accurate to runtime. Branch flag read before delay slot, but delay slot still executes before branch. - [FIXED]
  • Few off by one errors with ENTRY and LEAVE - [FIXED]
  • DIV instructions not accurate - [TODO]

These changes allow emulating of FR60 processor code within ghidra (with the exception of the DIV instructions). The few fixes identified, especially the one around delay slots, greatly improve readability of -O3 code with large number of branches.