Instructions for Procedure Call and Return
int equal(int a1, int a2) {
int tsame;
tsame = 0;
if (a1 == a2)
tsame = 1; return(tsame);
}
main()
{
int x,y,same;
x = 43;
y = 2;
same = equal(x,y);
// other computation
}
PC $31
0x10000 ??
0x10004 ??
0x10008 ??
0x30408 0x1000c
0x3040c 0x1000c
0x30410 0x1000c
0x30414 0x1000c
0x1000c 0x1000c
Previous slide
Next slide
Back to first slide
View graphic version