/// <summary>
        /// "LD SP,IX" operation
        /// </summary>
        /// <remarks>
        ///
        /// The 2-byte contents of IX are loaded to SP.
        ///
        /// =================================
        /// | 1 | 1 | 0 | 1 | 1 | 1 | 0 | 1 |
        /// =================================
        /// | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 1 |
        /// =================================
        /// T-States: 4, 6 (10)
        /// Contention breakdown: pc:4,pc+1:6
        /// </remarks>
        private void LdSPIX()
        {
            var oldSP = _registers.SP;

            _registers.SP = GetIndexReg();
            ClockP2();

            StackDebugSupport?.RecordStackPointerManipulationEvent(
                new StackPointerManipulationEvent((ushort)(_registers.PC - 2),
                                                  IndexMode == OpIndexMode.IX ? "ld sp,ix" : "ld sp,iy",
                                                  oldSP,
                                                  _registers.SP,
                                                  Tacts
                                                  ));
        }