comparison python/arm.pb @ 320:84d67cce67b7

Working burg
author Windel Bouwman
date Sun, 19 Jan 2014 16:09:44 +0100
parents 8d07a4254f04
children
comparison
equal deleted inserted replaced
319:8d07a4254f04 320:84d67cce67b7
2 %terminal ADDI ADDRLP ASGNI 2 %terminal ADDI ADDRLP ASGNI
3 %terminal CNSTI CVCI IOI INDIRC 3 %terminal CNSTI CVCI IOI INDIRC
4 4
5 %% 5 %%
6 6
7 stmt: ASGNI(disp, reg) 1 (. .) 7 stmt: ASGNI(disp, reg) 1 (. print('ASGNI') .)
8 stmt: reg 0 (. .) 8 stmt: reg 0 (. .)
9 reg: ADDI(reg, rc) 1 (. self.emit(Add, src=[$1], dst=[$c], other=[$2]) .) 9 reg: ADDI(reg, rc) 1 (. print('ADDI(reg, rc)') .)
10 reg: CVCI(INDIRC(disp)) 1 (. .) 10 reg: CVCI(INDIRC(disp)) 1 (. .)
11 reg: IOI 0 (. .) 11 reg: IOI 0 (. .)
12 reg: disp 1 (. .) 12 reg: disp 1 (. .)
13 disp: ADDI(reg, con) 1 (. .) 13 disp: ADDI(reg, con) 1 (. .)
14 disp: ADDRLP 0 (. .) 14 disp: ADDRLP 0 (. print('ADDRLP') .)
15 rc: con 0 (. .) 15 rc: con 0 (. .)
16 rc: reg 0 (. .) 16 rc: reg 0 (. .)
17 con: CNSTI 0 (. .) 17 con: CNSTI 0 (. print('CNSTI') .)
18 con: IOI 0 (. .) 18 con: IOI 0 (. .)
19 19
20 20