News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Best Assembler/Disassembler  (Read 1511 times)

Bob789

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Best Assembler/Disassembler
« on: September 30, 2017, 12:56:23 pm »
Hello,

I would like to know what the preferred assembler/disassembler is for 6502 NES Assembly. It does not need to be one program, multiple programs would work fine.
I'm looking for these tools for Windows or DOS.

Psyklax

  • Hero Member
  • *****
  • Posts: 731
    • View Profile
    • Psyklax Translations
Re: Best Assembler/Disassembler
« Reply #1 on: September 30, 2017, 01:45:32 pm »
For NES hacking, you can't get better than FCEUX. Has a great debugger, I've hacked and translated numerous NES games already using it.

Bob789

  • Jr. Member
  • **
  • Posts: 24
    • View Profile
Re: Best Assembler/Disassembler
« Reply #2 on: September 30, 2017, 06:36:56 pm »
I've used the FCEUX debugger a bit and it seems like a great tool. I plan on using it for my hacks. However, I was also looking for a tool
that could disassemble so that I could change the assembly code if possible.

EDIT: I now realize what I just said. FCEUX would be an adequate tool for assembly. However, I would not mind like options
« Last Edit: September 30, 2017, 06:44:42 pm by Bob789 »

nesrocks

  • Hero Member
  • *****
  • Posts: 516
    • View Profile
    • nesrocks.com
Re: Best Assembler/Disassembler
« Reply #3 on: September 30, 2017, 11:34:57 pm »
The Mesen emulator also has a great way of writing assembly code directly into the rom.

horst

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Best Assembler/Disassembler
« Reply #4 on: October 15, 2017, 01:38:03 am »
I do not know what is best but what works generally very well if you wanted to reverse engineer code is a combination of static and dynamic analysis techniques (disassembly and debugging). For disassembly, I used IDA Pro and several additions (loaders, plugins) that enabled it to load NES ROM dumps and to export symbols into a format that could be loaded into the FCEUXD SP debugger. This allows for comfortable side-by-side analysis of the code with names etc. exported from IDA visible in the debugger.

The tools for IDA are available here http://www.romhacking.net/utilities/627/
FCEUXD SP can be grabbed here http://www.the-interweb.com/serendipity/index.php?/categories/9-FCEUXD-SP

Since I haven't used an assembler to reassemble the reverse engineered ROM so far, I have no recommendation on that.

SleepyFist

  • Hero Member
  • *****
  • Posts: 770
    • View Profile
Re: Best Assembler/Disassembler
« Reply #5 on: October 16, 2017, 07:06:05 pm »
I'm using NESASM3, probably not the best but it's the one I'm used to at this point, I've also set up batch scripts to help me assemble and test a bit more rapidly, nothing fancy.
Sleepy's Album of the week|| High Pulp - Bad Juice|| https://youtu.be/6V-BtwkGoaY

Dracula X

  • Jr. Member
  • **
  • Posts: 70
    • View Profile
    • My YouTube Page for ROM hacking
Re: Best Assembler/Disassembler
« Reply #6 on: October 16, 2017, 07:17:58 pm »
I use:

Assembler's:
ASL - Cross Assembler
ASM6F

Disassembler's:
disasm6

That's it!
Learning how bankswitching works is completed.