function for moving interrupt vector