© { JSL }
36
Text Box: Integer MSIL
Integer MSIL
·integer MSIL instructions come in two forms
wone checks for overflow ( eg mul.ovf )
wone doesn' t check for overflow ( eg mul )
int a, b, c;
...
.locals(int32 V0,
        int32 V1,
        int32 V2)
int c = checked(a * b);
ldloc.0
ldloc.1
mul.ovf
stloc.2
int c = a * b;
ldloc.0
ldloc.1
mul
stloc.2
C#
MSIL