As far as actual ports of the NES code go, I think there was one back in the day on the TG16/PCE, there was one a few years back for the Genesis/MD, and this. I also want to say I think someone ported it to the SNES?
Also there is of course Super Mario Bros. Deluxe for the Game Boy Color, ported by Nintendo themselves.