ide: add ide_transfer_pc() helper