Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

CIL stack exchange instruction

Tags:

cil

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

like image 452
Eric Smith Avatar asked Oct 10 '08 15:10

Eric Smith


1 Answers

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

like image 51
user7116 Avatar answered Oct 24 '22 07:10

user7116