cos 7700 flashes up "emerg"
but 7600 flashes up "rdo fail".
There's absolutely no point in messing around with the transponder. It won't get you noticed any faster. Just squawk 7600 & then concentrate on flying.
Happened to me once, but I lost all the electrics so not even squawking helped. Oh well!