annotate test/sample4.brg @ 337:b00219172a42

Added cool lm3s811 qemu project
author Windel Bouwman
date Thu, 20 Feb 2014 20:04:52 +0100
parents 44f336460c2a
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