Example #1
0
        private void OpIfDup()
        {
            var shouldDuplicate = MainStack.PeekBool();

            if (!shouldDuplicate)
            {
                return;
            }

            var bytes = MainStack.Peek();

            MainStack.Push(bytes);
        }