News:

Don't forget to visit the main site! There's lots of helpful docs, patches, and more!

Main Menu

Common Addressing Modes?

Started by dewhi100, November 19, 2016, 10:04:02 AM

Previous topic - Next topic

dewhi100

What addressing modes are most/least frequently used? I ask because there are about 20 different LDA instructions for example. Do I have to search for every variation? Or can addressing mode be determined based on the kind of data I am trying to load?

snarfblam

What are you trying to accomplish? If you're trying to find code that reads a given address, you're probably better off using a debugger and setting a breakpoint.

dewhi100

Thanks for the recommendation, snarfblam. I opened Geiger's snes9x yesterday and was a little overwhelmed. Using a tool like that would be the best option to find where we check to see if an item is equipped, button pressed, boss killed etc.? Those and more are the sorts of things I'd eventually like to do.