Similar presentations:
Call method with value types arguments
1.
StackCall Method with
Value Types Arguments
2.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
3.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
$FFFF
Name
Stack
a
5
4.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
5.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
6.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
7.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
8.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
9.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
$FFF3
a
10.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
$FFF3
a
5
11.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
$FFF3
a
$FFEF
b
5
12.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
$FFF3
a
5
$FFEF
b
3
13.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
10
$FFF7
result
$FFF3
a
5
$FFEF
b
3
14.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
15.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
1
16.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
1
$FFE3
i
0
17.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
1
$FFE3
i
0
18.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
1
$FFE3
i
0
19.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
1
$FFE3
i
0
20.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
5
$FFE3
i
0
21.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
5
$FFE3
i
0
22.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
5
$FFE3
i
1
23.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
5
$FFE3
i
1
24.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
5
$FFE3
i
1
25.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
5
$FFE3
i
1
26.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
25
$FFE3
i
1
27.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
25
$FFE3
i
1
28.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
25
$FFE3
i
2
29.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
25
$FFE3
i
2
30.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
25
$FFE3
i
2
31.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
25
$FFE3
i
2
32.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
2
33.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
2
34.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
35.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
36.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
37.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
38.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
39.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
40.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
41.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
42.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
125
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
43.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
125
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
44.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
125
$FFF3
a
5
$FFEF
b
3
$FFEB
Return
address
$FFF7
$FFE7
res
125
$FFE3
i
3
45.
static int Main(){
int a = 5, y = 3, result;
result = pow(a, y);
}
static int pow(int a, int b)
{
int res = 1;
for(int i=0; i<b; i++)
{
res *= a;
}
}
return res;
Address
Name
Stack
$FFFF
a
5
$FFFB
y
3
$FFF7
result
125