Made A be the device address in interrupt handlers