I decided to hack level passwords in NES Gremlins 2 (US) but was too lazy to look at assembly code, so I just used FCEUX's Code/Data Logger. It was like hacking in films because it let me guess one letter at a time. Here's how I found one password:
1) Go to the Password! screen.
