Mercurial > lcfOS
comparison python/arm.pb @ 319:8d07a4254f04
Work on burg
author | Windel Bouwman |
---|---|
date | Sat, 18 Jan 2014 18:58:43 +0100 |
parents | e84047f29c78 |
children | 84d67cce67b7 |
comparison
equal
deleted
inserted
replaced
318:e84047f29c78 | 319:8d07a4254f04 |
---|---|
1 | |
2 %terminal ADDI ADDRLP ASGNI | |
3 %terminal CNSTI CVCI IOI INDIRC | |
4 | |
5 %% | |
6 | |
7 stmt: ASGNI(disp, reg) 1 (. .) | |
8 stmt: reg 0 (. .) | |
9 reg: ADDI(reg, rc) 1 (. self.emit(Add, src=[$1], dst=[$c], other=[$2]) .) | |
10 reg: CVCI(INDIRC(disp)) 1 (. .) | |
11 reg: IOI 0 (. .) | |
12 reg: disp 1 (. .) | |
13 disp: ADDI(reg, con) 1 (. .) | |
14 disp: ADDRLP 0 (. .) | |
15 rc: con 0 (. .) | |
16 rc: reg 0 (. .) | |
17 con: CNSTI 0 (. .) | |
18 con: IOI 0 (. .) | |
1 | 19 |
2 | 20 |
3 | |
4 | |
5 reg: ADD32(reg, const) { self.emit(Add, src=[$1], dst=[$c], other=[$2]) } 1 | |
6 | |
7 |