use cmpb instead of cmpl
don't call exit() in interrupt handler