As long as you are in good radio contact, I don't think code change is really needed as I already know your status
But by selecting 7700, every controller sitting in front of a radar can instantly see that your a/c has a problem and can keep theirs out of the way - this is especially important if the a/c needs to descend quickly.