© { JSL }
36
Integer MSIL
·
integer MSIL instructions come in two forms
w
one checks for overflow ( eg mul.ovf )
w
one 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