Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试找出一些 CIL 代码。我认为有两个语句做同样的事情。这些都是
ldc.i4.m1
和
ldc.i4.M1
你能说出这两者有什么区别吗?
维基百科CIL 指令列表:
0x15 ldc.i4.M1 Push -1 of type int32 onto the stack as int32 (alias for ldc.i4.m1).
它们似乎是一样的。