internal void Push(WordRegister register) { ushort value = Registers[register]; Registers.SP--; Timing.BeginStackWriteCycle(true, value.HighByte()); Memory.Untimed.WriteByteAt(Registers.SP, value.HighByte()); Timing.EndStackWriteCycle(); Registers.SP--; Timing.BeginStackWriteCycle(false, value.LowByte()); Memory.Untimed.WriteByteAt(Registers.SP, value.LowByte()); Timing.EndStackWriteCycle(); }