return control after software interrupt
added various debugging values