Higher Subleq | Error | Output | Subleq | ITR |
int a="abc", b[]="\'\"\?\\\a\b\f\n\r\t\v";
int c[]="\xax\x011\78\0171\0";
void main()
{
__out b[0]+40;
__out b[1]+40;
__out b[2]+20;
__out b[3]-10; // '\'
__out b[4]+50;
__out b[5]+60;
__out b[6]+60;
__out 10;
__out b[7]+40; // \n 2
__out b[8]+40;
__out b[9]+40; // \t 1
__out b[10]+40; // 3
__out 10;
__out c[0]+40; // \xa 2
__out c[1]; // x
__out c[2]+'a'; // \x01 b
__out c[3]; // 1
__out c[4]+48; // 7
__out c[5]; // 8
__out c[6]+40; // 15+40=55 7
__out c[7]; // 1
__out c[8]+50; // 2
}
|
|
OJSR9DH
2513
2xb178712
|
top:top top sqmain
. _a:c1 _b:39 34 63 92 7 8 12 10 13 9 11 0
. _c:10 120 1 49 7 56 15 49 0 0
_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
dec sp; ?+11; sp ?+7; ?+6; sp ?+2; 0
?+6; sp ?+2; t3 0
t1; t2; c2 t1; c3 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; dec t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c5 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c6 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c7 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t3 Z; Z t2; Z; c8 t2
t2 (-1)
t1; t2; c2 t1; c9 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c10 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c11 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c12 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c13 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c12 t2; t2 t1
t1 (-1)
c8 (-1)
t1; t2; c2 t1; c14 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c15 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c16 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c2 t1; c8 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
c8 (-1)
t1; t2; c17 t1; c3 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c17 t1; dec t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t3 (-1)
t1; t2; c17 t1; c5 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c18 t2; t2 t1
t1 (-1)
t1; t2; c17 t1; c7 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t3 (-1)
t1; t2; c17 t1; c9 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c19 t2; t2 t1
t1 (-1)
t1; t2; c17 t1; c11 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t3 (-1)
t1; t2; c17 t1; c13 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c4 t2; t2 t1
t1 (-1)
t1; t2; c17 t1; c14 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t3 (-1)
t1; t2; c17 t1; c15 t1; t1 t2
t1; t3; ?+11; t2 Z; Z ?+4; Z; 0 t1; t1 t3
t2; t1; t3 t2; c10 t2; t2 t1
t1 (-1)
?+8; sp ?+4; t3; 0 t3; inc sp
?+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)
. c3:0 c8:10 c5:2 c6:20 c7:3 c9:4 c4:40 c19:48 c11:5 c10:50 c13:6 c12:60 c14:7 c15:8 c16:9 c18:97 c1:97 98 99 0 c2:_b c17:_c
. t1:0 t2:0 t3:0
. inc:-1 Z:0 dec:1 ax:0 bp:0 sp:-sp
|
Root (mt_4.hsq:28)
Declaration (mt_4.hsq:1)
Keyword [int] (mt_4.hsq:1)
Declarator [=] (mt_4.hsq:1)
Id [a] (mt_4.hsq:1)
String [abc] (mt_4.hsq:1)
Declarator ["] (mt_4.hsq:1)
Id [b] (mt_4.hsq:1)
String ['"?\.......] (mt_4.hsq:1)
Declaration (mt_4.hsq:2)
Keyword [int] (mt_4.hsq:2)
Declarator ["] (mt_4.hsq:2)
Id [c] (mt_4.hsq:2)
String [.x.1.8.1.] (mt_4.hsq:2)
Function:0 [main] (mt_4.hsq:3)
Keyword [void] (mt_4.hsq:3)
Param-type-list (mt_4.hsq:3)
Block (mt_4.hsq:4)
OperatorIO [__out] (mt_4.hsq:5)
Additive [+] (mt_4.hsq:5)
Unary [*] (mt_4.hsq:5)
Additive [+] (mt_4.hsq:5)
Label [b] (mt_4.hsq:5) ":1
Const [0] (mt_4.hsq:5)
Const [40] (mt_4.hsq:5)
OperatorIO [__out] (mt_4.hsq:6)
Additive [+] (mt_4.hsq:6)
Unary [*] (mt_4.hsq:6)
Additive [+] (mt_4.hsq:6)
Label [b] (mt_4.hsq:6) ":1
Const [1] (mt_4.hsq:6)
Const [40] (mt_4.hsq:6)
OperatorIO [__out] (mt_4.hsq:7)
Additive [+] (mt_4.hsq:7)
Unary [*] (mt_4.hsq:7)
Additive [+] (mt_4.hsq:7)
Label [b] (mt_4.hsq:7) ":1
Const [2] (mt_4.hsq:7)
Const [20] (mt_4.hsq:7)
OperatorIO [__out] (mt_4.hsq:8)
Additive [-] (mt_4.hsq:8)
Unary [*] (mt_4.hsq:8)
Additive [+] (mt_4.hsq:8)
Label [b] (mt_4.hsq:8) ":1
Const [3] (mt_4.hsq:8)
Const [10] (mt_4.hsq:8)
OperatorIO [__out] (mt_4.hsq:9)
Additive [+] (mt_4.hsq:9)
Unary [*] (mt_4.hsq:9)
Additive [+] (mt_4.hsq:9)
Label [b] (mt_4.hsq:9) ":1
Const [4] (mt_4.hsq:9)
Const [50] (mt_4.hsq:9)
OperatorIO [__out] (mt_4.hsq:10)
Additive [+] (mt_4.hsq:10)
Unary [*] (mt_4.hsq:10)
Additive [+] (mt_4.hsq:10)
Label [b] (mt_4.hsq:10) ":1
Const [5] (mt_4.hsq:10)
Const [60] (mt_4.hsq:10)
OperatorIO [__out] (mt_4.hsq:11)
Additive [+] (mt_4.hsq:11)
Unary [*] (mt_4.hsq:11)
Additive [+] (mt_4.hsq:11)
Label [b] (mt_4.hsq:11) ":1
Const [6] (mt_4.hsq:11)
Const [60] (mt_4.hsq:11)
OperatorIO [__out] (mt_4.hsq:12)
Const [10] (mt_4.hsq:12)
OperatorIO [__out] (mt_4.hsq:13)
Additive [+] (mt_4.hsq:13)
Unary [*] (mt_4.hsq:13)
Additive [+] (mt_4.hsq:13)
Label [b] (mt_4.hsq:13) ":1
Const [7] (mt_4.hsq:13)
Const [40] (mt_4.hsq:13)
OperatorIO [__out] (mt_4.hsq:14)
Additive [+] (mt_4.hsq:14)
Unary [*] (mt_4.hsq:14)
Additive [+] (mt_4.hsq:14)
Label [b] (mt_4.hsq:14) ":1
Const [8] (mt_4.hsq:14)
Const [40] (mt_4.hsq:14)
OperatorIO [__out] (mt_4.hsq:15)
Additive [+] (mt_4.hsq:15)
Unary [*] (mt_4.hsq:15)
Additive [+] (mt_4.hsq:15)
Label [b] (mt_4.hsq:15) ":1
Const [9] (mt_4.hsq:15)
Const [40] (mt_4.hsq:15)
OperatorIO [__out] (mt_4.hsq:16)
Additive [+] (mt_4.hsq:16)
Unary [*] (mt_4.hsq:16)
Additive [+] (mt_4.hsq:16)
Label [b] (mt_4.hsq:16) ":1
Const [10] (mt_4.hsq:16)
Const [40] (mt_4.hsq:16)
OperatorIO [__out] (mt_4.hsq:17)
Const [10] (mt_4.hsq:17)
OperatorIO [__out] (mt_4.hsq:18)
Additive [+] (mt_4.hsq:18)
Unary [*] (mt_4.hsq:18)
Additive [+] (mt_4.hsq:18)
Label [c] (mt_4.hsq:18) ":2
Const [0] (mt_4.hsq:18)
Const [40] (mt_4.hsq:18)
OperatorIO [__out] (mt_4.hsq:19)
Unary [*] (mt_4.hsq:19)
Additive [+] (mt_4.hsq:19)
Label [c] (mt_4.hsq:19) ":2
Const [1] (mt_4.hsq:19)
OperatorIO [__out] (mt_4.hsq:20)
Additive [+] (mt_4.hsq:20)
Unary [*] (mt_4.hsq:20)
Additive [+] (mt_4.hsq:20)
Label [c] (mt_4.hsq:20) ":2
Const [2] (mt_4.hsq:20)
Const ['a'] (mt_4.hsq:20)
OperatorIO [__out] (mt_4.hsq:21)
Unary [*] (mt_4.hsq:21)
Additive [+] (mt_4.hsq:21)
Label [c] (mt_4.hsq:21) ":2
Const [3] (mt_4.hsq:21)
OperatorIO [__out] (mt_4.hsq:22)
Additive [+] (mt_4.hsq:22)
Unary [*] (mt_4.hsq:22)
Additive [+] (mt_4.hsq:22)
Label [c] (mt_4.hsq:22) ":2
Const [4] (mt_4.hsq:22)
Const [48] (mt_4.hsq:22)
OperatorIO [__out] (mt_4.hsq:23)
Unary [*] (mt_4.hsq:23)
Additive [+] (mt_4.hsq:23)
Label [c] (mt_4.hsq:23) ":2
Const [5] (mt_4.hsq:23)
OperatorIO [__out] (mt_4.hsq:24)
Additive [+] (mt_4.hsq:24)
Unary [*] (mt_4.hsq:24)
Additive [+] (mt_4.hsq:24)
Label [c] (mt_4.hsq:24) ":2
Const [6] (mt_4.hsq:24)
Const [40] (mt_4.hsq:24)
OperatorIO [__out] (mt_4.hsq:25)
Unary [*] (mt_4.hsq:25)
Additive [+] (mt_4.hsq:25)
Label [c] (mt_4.hsq:25) ":2
Const [7] (mt_4.hsq:25)
OperatorIO [__out] (mt_4.hsq:26)
Additive [+] (mt_4.hsq:26)
Unary [*] (mt_4.hsq:26)
Additive [+] (mt_4.hsq:26)
Label [c] (mt_4.hsq:26) ":2
Const [8] (mt_4.hsq:26)
Const [50] (mt_4.hsq:26)
|