x86 -> 6502 reassembler

You need an actual VIC.

Moderator: Moderators

Post Reply
Kakemoms
Vic 20 Nerd
Posts: 740
Joined: Sun Feb 15, 2015 8:45 am

x86 -> 6502 reassembler

Post by Kakemoms »

Anyone here tested this: https://www.youtube.com/watch?v=CdJOSfK1ja0
On github: https://github.com/lefticus/x86-to-6502

Looks like it generates 6502 code from gcc-generated x86 code... more or less.
User avatar
Kweepa
Vic 20 Scientist
Posts: 1315
Joined: Fri Jan 04, 2008 5:11 pm
Location: Austin, Texas
Occupation: Game maker

Re: x86 -> 6502 reassembler

Post by Kweepa »

I can't see any practical use for this... unless it's possible to take advantage of optimizations from a modern c++ compiler...
groepaz
Vic 20 Scientist
Posts: 1187
Joined: Wed Aug 25, 2010 5:30 pm

Re: x86 -> 6502 reassembler

Post by groepaz »

in most non trivial code all the fancy optimizations will get lost in the x86->6502 translation and you'll end up with code similar to what cc65 produces
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.
Post Reply