diff python/arm.pb @ 320:84d67cce67b7

Working burg
author Windel Bouwman
date Sun, 19 Jan 2014 16:09:44 +0100
parents 8d07a4254f04
children
line wrap: on
line diff
--- a/python/arm.pb	Sat Jan 18 18:58:43 2014 +0100
+++ b/python/arm.pb	Sun Jan 19 16:09:44 2014 +0100
@@ -4,17 +4,17 @@
 
 %%
 
-stmt: ASGNI(disp, reg) 1 (. .)
+stmt: ASGNI(disp, reg) 1 (. print('ASGNI') .)
 stmt: reg 0 (. .)
-reg: ADDI(reg, rc) 1 (. self.emit(Add, src=[$1], dst=[$c], other=[$2]) .)
+reg: ADDI(reg, rc) 1 (. print('ADDI(reg, rc)') .)
 reg: CVCI(INDIRC(disp)) 1 (.  .)
 reg: IOI 0 (. .)
 reg: disp 1 (. .)
 disp: ADDI(reg, con) 1 (. .)
-disp: ADDRLP 0 (. .)
+disp: ADDRLP 0 (. print('ADDRLP') .)
 rc: con 0 (. .)
 rc: reg 0 (. .)
-con: CNSTI 0 (. .)
+con: CNSTI 0 (. print('CNSTI') .)
 con: IOI 0 (. .)