public void Push8(byte val) { Engine.WriteMemory8((ushort)(0x0100 + SP), val); SP--; if (SP < 0) { Console.WriteLine("Warning: Stack overflow!"); } }