CIL堆栈交换指令 [英] CIL stack exchange instruction

查看:87
本文介绍了CIL堆栈交换指令的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有CIL指令交换堆栈中的前两个元素?

Is there a CIL instruction to exchange the first two elements in the stack?

推荐答案

没有单个指令交换。但是,使用 stloc pop ldloc ,您应该可以完成交换。

There is no single instruction exchange. However, using stloc, pop, and ldloc, you should be able to accomplish your exchange.

这篇关于CIL堆栈交换指令的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆