The standard electrode potential of the system is defined as the emf of an electrochemical cell in which at 298K , the hydrogen gas (1 atm)/ aq. H+ (1M) half cell electrode is coupled with the other half-cell electrode system. The electrode potential of SHE is zero.
SHE act as anode when the another half cell with which it is combining has positive value of reduction potential so that Ecell will be positive. (Ecell = Ecathode - Eanode)
SHE will act as cathode when another half cell has negative reduction potential so that Ecell will be positive.
So If SHE (Standard hydrogen electrode) acts as anode then oxidation takes place as in case of Cu (E0 = 0.34 V) when coupled with Hydrogen.
H2 2H+ + 2e-.
The anode half cell will be represented as:
Pt, H2(g)1atm | H+(1M)
And if SHE acts as cathode then reduction takes place. Reaction is:
2H+ + 2e- H2(g)
The cathode half cell will be represented as:
H+(1M) | H2(g) 1 atm , Pt
The electrode potential of Standard Hydrogen electrode (SHE) is taken as zero