annotate test/sample4.brg @ 322:44f336460c2a

Half of use of burg spec for arm
author Windel Bouwman
date Mon, 27 Jan 2014 19:58:07 +0100
parents 8c569fbe60e4
children 818be710e13d
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
321
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
9 stmt: ASGNI(disp, reg) 1 (. self.tr(1) .)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
10 stmt: reg 0 (. self.tr(2).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
11 reg: ADDI(reg, rc) 1 (. self.tr(3) .)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
12 reg: CVCI(INDIRC(disp)) 1 (. self.tr(4) .)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
13 reg: IOI 0 (. self.tr(5).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
14 reg: disp 1 (. self.tr(6).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
15 disp: ADDI(reg, con) 1 (. self.tr(7).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
16 disp: ADDRLP 0 (. self.tr(8).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
17 rc: con 0 (. self.tr(9).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
18 rc: reg 0 (. self.tr(10).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
diff changeset
19 con: CNSTI 0 (. self.tr(11).)
8c569fbe60e4 Load yacc and burg dynamic
Windel Bouwman
parents: 320
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