Add getPc to cpu interface.