The NES classic Super Mario Bros. (1985) does not have traditional cheat codes entered via controller inputs. However, players have discovered several glitches and techniques that can provide advantages.
Practice the game's precise platforming mechanics. The sense of accomplishment from beating Bowser through skill alone is unmatched.