private static void PushValue(CpuRegister sp, Memory memory, Word value) { sp.Decrement(); memory.Write(sp.Value, value); }