Table of Contents

Enum CilStackBehaviour

Namespace
AsmResolver.PE.DotNet.Cil
Assembly
AsmResolver.PE.dll

Provides members defining all possible stack behaviours that a single CIL operation can have.

public enum CilStackBehaviour : byte

Fields

Pop0 = 0

Indicates the operation pops no values from the stack.

Pop1 = 1

Indicates the operation pops one value from the stack.

Pop1_Pop1 = 2

Indicates the operation pops one value off the stack for the first operand, and one value of the stack for the second operand.

PopAll = 19

Indicates the operation clears the evaluation stack.

PopI = 3

Indicates the operation pops a 32-bit integer off the stack.

PopI_Pop1 = 4

Indicates the operation pops a 32-bit integer off the stack for the first operand, and a value off the stack for the second operand.

PopI_PopI = 5

Indicates the operation pops a 32-bit integer off the stack for the first operand, and a 32-bit integer off the stack for the second operand.

PopI_PopI8 = 6

Indicates the operation pops a 32-bit integer off the stack for the first operand, and a 64-bit integer off the stack for the second operand.

PopI_PopI_PopI = 7

Indicates the operation pops a 32-bit integer off the stack for the first operand, a 32-bit integer off the stack for the second operand, and a 32-bit integer off the stack for the third operand.

PopI_PopR4 = 8

Indicates the operation pops a 32-bit integer off the stack for the first operand, and a 32-bit floating point number off the stack for the second operand.

PopI_PopR8 = 9

Indicates the operation pops a 32-bit integer off the stack for the first operand, and a 64-bit floating point number off the stack for the second operand.

PopRef = 10

Indicates the operation pops a reference off the stack.

PopRef_Pop1 = 11

Indicates the operation pops a reference off the stack for the first operand, and a value off the stack for the second operand.

PopRef_PopI = 12

Indicates the operation pops a reference off the stack for the first operand, and a 32-bit integer off the stack for the second operand.

PopRef_PopI_Pop1 = 18

Indicates the operation pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 32-bit integer off the stack for the third operand.

PopRef_PopI_PopI = 13

Indicates the operation pops a reference off the stack for the first operand, a value off the stack for the second operand, and a value off the stack for the third operand.

PopRef_PopI_PopI8 = 14

Indicates the operation pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 64-bit integer off the stack for the third operand.

PopRef_PopI_PopR4 = 15

Indicates the operation pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 32-bit integer off the stack for the third operand.

PopRef_PopI_PopR8 = 16

Indicates the operation pops a reference off the stack for the first operand, a value off the stack for the second operand, and a 64-bit floating point number off the stack for the third operand.

PopRef_PopI_PopRef = 17

Indicates the operation pops a reference off the stack for the first operand, a value off the stack for the second operand, and a reference off the stack for the third operand.

Push0 = 20

Indicates the operation pushes no values onto the stack.

Push1 = 21

Indicates the operation pushes one value onto the stack.

Push1_Push1 = 22

Indicates the operation pushes 1 value onto the stack for the first operand, and 1 value onto the stack for the second operand.

PushI = 23

Indicates the operation pushes a 32-bit integer onto the stack.

PushI8 = 24

Indicates the operation pushes a 64-bit integer onto the stack.

PushR4 = 25

Indicates the operation pushes a 32-bit floating point number onto the stack.

PushR8 = 26

Indicates the operation pushes a 64-bit floating point number onto the stack.

PushRef = 27

Indicates the operation pushes a reference onto the stack.

VarPop = 28

Indicates the operation pops a variable amount of values off the stack.

VarPush = 29

Indicates the operation pushes a variable amount of values onto the stack.