News for hackers. Stuff that matters.
Re:Show HN: Assembly to C code Decompiler by khedoros on Friday May 27, 2016 @02:26PM (#11787887)
How close is the SNES 65C816(-ish) code to NES 6502(-ish) code supported in the demo version of the program? I understand that they're from the same family, but I'd expect some incompatible extensions in the more-advanced chip, at least.
Re:Show HN: Assembly to C code Decompiler by zandorg on Friday May 27, 2016 @03:38PM (#11788380)
I haven't done any work on 65C816. Just 6502 so far.

It should be possible to make a 'CPU module' for the decompiler which takes into account the features of the 65C816 (such as 16-bit registers).

Re:Show HN: Assembly to C code Decompiler by ratboy666 on Saturday May 28, 2016 @05:39AM (#11791083)
How do you deal with self-modifying code? My old FORTRAN compiler generated that 8080 target