I have some C code that I want to convert to 6502 assembly code but in text format, is this even possible? If so is there PC software that I could download that would perform this task?
-terry
convert C code back to 6502 assembly code
Moderator: Moderators
- Schema
- factor
- Posts: 1440
- Joined: Tue Mar 23, 2004 7:07 am
- Website: http://www.jammingsignal.com
- Location: Toronto, Ontario
"convert to 6502 assembly code" - as in compiling it to 6502 code?
I think you're going to end up with a two-step process - 1. Compile the C code into a 6502 binary, and then 2. disassemble the 6502 code into text.
For 1. there are plenty of C->6502 compilers out there, i.e. CC65 http://www.cc65.org/
For 2. someone just asked about 6502 dissassemblers on comp.sys.cbm, and someone linked to dxa, available here: http://www.floodgap.com/retrotech/xa/
I think you're going to end up with a two-step process - 1. Compile the C code into a 6502 binary, and then 2. disassemble the 6502 code into text.
For 1. there are plenty of C->6502 compilers out there, i.e. CC65 http://www.cc65.org/
For 2. someone just asked about 6502 dissassemblers on comp.sys.cbm, and someone linked to dxa, available here: http://www.floodgap.com/retrotech/xa/
convert C code to 6502 assy
Yes I do have cc65.
Will Concept plus do the same, (Geoprogrammer update).
terry
Will Concept plus do the same, (Geoprogrammer update).
terry