CIL stack exchange instruction

后端 未结 4 2194
走了就别回头了
走了就别回头了 2021-02-14 15:03

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

4条回答
  •  庸人自扰
    2021-02-14 15:34

    Looking at a list of CIL instructions there doesn't appear to be a single instruction that exchanges the two elements at the top of the stack. You'll have to do it the old pop/push way.

提交回复
热议问题