Mercuric cyanide can be prepared by mixing yellow mercury oxide with hydrocyanic acid in the following chemical reaction[REF] which is generally carried out by passing HCN gas into HgO in water.
K4Fe(CN)6 + 3 HgSO4 → 3 Hg(CN)2 + 2 K2SO4 + FeSO4 .