Corrected and optimized assembly interrupt