Higher Subleq | Error | Output | Subleq | ITR |
int a,b;
int main()
{
a=49,b=50;
__out a;
__out b;
}
|
|
12
|
top:top top sqmain
. _a:0 _b:0
_main:
dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
?+6; sp ?+2; bp 0
bp; sp bp
_a; c1 Z; Z _a; Z
_b; c2 Z; Z _b; Z
_a (-1)
_b (-1)
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)
. c1:49 c2:50
. inc:-1 Z:0 dec:1 ax:0 bp:0 sp:-sp
|
Root (mg_11_2.hsq:8)
Declaration (mg_11_2.hsq:1)
Keyword [int] (mg_11_2.hsq:1)
Declarator [0] (mg_11_2.hsq:1)
Id [a] (mg_11_2.hsq:1)
Declarator [0] (mg_11_2.hsq:1)
Id [b] (mg_11_2.hsq:1)
Function:0 [main] (mg_11_2.hsq:2)
Keyword [int] (mg_11_2.hsq:2)
Param-type-list (mg_11_2.hsq:2)
Block (mg_11_2.hsq:3)
Expression [,] (mg_11_2.hsq:4)
Assignment [=] (mg_11_2.hsq:4)
Variable [a] (mg_11_2.hsq:4) 0:1
Const [49] (mg_11_2.hsq:4)
Assignment [=] (mg_11_2.hsq:4)
Variable [b] (mg_11_2.hsq:4) 0:1
Const [50] (mg_11_2.hsq:4)
OperatorIO [__out] (mg_11_2.hsq:5)
Variable [a] (mg_11_2.hsq:5) 0:1
OperatorIO [__out] (mg_11_2.hsq:6)
Variable [b] (mg_11_2.hsq:6) 0:1
|