annotate test/sample4.brg @ 396:fb3c1f029b30

Added baselexer into c3 lexer
author Windel Bouwman
date Tue, 27 May 2014 22:19:32 +0200
parents 818be710e13d
children
rev   line source
322
44f336460c2a Half of use of burg spec for arm
Windel Bouwman
parents: 321
diff changeset
1
44f336460c2a Half of use of burg spec for arm
Windel Bouwman
parents: 321
diff changeset
2 %%
318
e84047f29c78 Add burg and yacc initial attempts
Windel Bouwman
parents:
diff changeset
3
319
8d07a4254f04 Work on burg
Windel Bouwman
parents: 318
diff changeset
4 %terminal ADDI ADDRLP ASGNI
8d07a4254f04 Work on burg
Windel Bouwman
parents: 318
diff changeset
5 %terminal CNSTI CVCI IOI INDIRC
318
e84047f29c78 Add burg and yacc initial attempts
Windel Bouwman
parents:
diff changeset
6
319
8d07a4254f04 Work on burg
Windel Bouwman
parents: 318
diff changeset
7 %%
8d07a4254f04 Work on burg
Windel Bouwman
parents: 318
diff changeset
8
357
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
9 stmt: ASGNI(disp, reg) 1 'self.tr(1) '
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
10 stmt: reg 0 ' self.tr(2)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
11 reg: ADDI(reg, rc) 1 'self.tr(3) '
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
12 reg: CVCI(INDIRC(disp)) 1 'self.tr(4) '
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
13 reg: IOI 0 'self.tr(5)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
14 reg: disp 1 'self.tr(6)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
15 disp: ADDI(reg, con) 1 'self.tr(7)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
16 disp: ADDRLP 0 ' self.tr(8)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
17 rc: con 0 ' self.tr(9)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
18 rc: reg 0 'self.tr(10)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
19 con: CNSTI 0 ' self.tr(11)'
818be710e13d Added acceptance function to burg
Windel Bouwman
parents: 322
diff changeset
20 con: IOI 0 ' self.tr(12)'
318
e84047f29c78 Add burg and yacc initial attempts
Windel Bouwman
parents:
diff changeset
21
e84047f29c78 Add burg and yacc initial attempts
Windel Bouwman
parents:
diff changeset
22