Using the "Cheat Search" feature of zsnes you can find the RAM address of many in-game variables, for example "Coins Collected".

It would be great if I could assign a group of keys on emulator so I could increase/decrease the values of this RAM address during game emulation. For example, I found that the RAM address for "Coins collected" is 7E0000 1 Byte length. So I could configure that press "G" key during game the emulator would increase 1 on this address. Pressing "H" key would decrease 1 on this address. So I could map many addresses: