APPENDIX C

image

IL Instruction Set Reference

Instruction Parameter Types

Type

Description

int8

Signed 1-byte integer

uint8

Unsigned 1-byte integer

int32

Signed 4-byte integer

uint32

Unsigned 4-byte integer

int64

Signed 8-byte integer

float32

4-byte floating-point number (IEEE-754)

float64

8-byte floating-point number (IEEE-754)

<Method>

MethodDef or MemberRef token

<Field>

FieldDef or MemberRef token

<Type>

TypeDef, TypeRef, or TypeSpec token

<Signature>

StandAloneSig token

<String>

User-defined string token

Evaluation Stack Types

Type

Description

int32

Signed 4-byte integer

int64

Signed 8-byte integer ...

Get .NET IL Assembler now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.