chapter12 internal interrupt