It is unnecessary to disable/restore interrupt when writing to the SPH/SPL pair on XMEGA devices, as the manual indicates: ``` To prevent corruption when updating the stack pointer from software, a write to SPL will automatically disable interrupts for up to four instructions or until the next I/O memory write. ```