Higher Subleq | Error | Output | Subleq | ITR |
int a=50,b=&a;
void main()
{
__out *b;
}
|
|
2
|
top:top top sqmain
. _a:50 _b:_a
_main:
dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
?+6; sp ?+2; bp 0
bp; sp bp
dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
?+6; sp ?+2; t1 0
dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
?+6; sp ?+2; t2 0
t1; t2; ?+11; _b Z; Z ?+4; Z; 0 t1; t1 t2
t2 (-1)
?+8; sp ?+4; t2; 0 t2; inc sp
?+8; sp ?+4; t1; 0 t1; inc sp
sp; bp sp
?+8; sp ?+4; bp; 0 bp; inc sp
?+8; sp ?+4; ?+7; 0 ?+3; Z Z 0
sqmain:
dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
?+6; sp ?+2; ?+2 0 _main; . ?; inc sp
Z Z (-1)
. t1:0 t2:0
. inc:-1 Z:0 dec:1 ax:0 bp:0 sp:-sp
|
Root (mg_18_5.hsq:6)
Declaration (mg_18_5.hsq:1)
Keyword [int] (mg_18_5.hsq:1)
Declarator [=] (mg_18_5.hsq:1)
Id [a] (mg_18_5.hsq:1)
Const [50] (mg_18_5.hsq:1)
Declarator [=] (mg_18_5.hsq:1)
Id [b] (mg_18_5.hsq:1)
Unary [&] (mg_18_5.hsq:1)
Variable [a] (mg_18_5.hsq:1) =:1
Function:0 [main] (mg_18_5.hsq:2)
Keyword [void] (mg_18_5.hsq:2)
Param-type-list (mg_18_5.hsq:2)
Block (mg_18_5.hsq:3)
OperatorIO [__out] (mg_18_5.hsq:4)
Unary [*] (mg_18_5.hsq:4)
Variable [b] (mg_18_5.hsq:4) =:1
|