view 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 source


%terminal ADDI ADDRLP ASGNI
%terminal CNSTI CVCI IOI INDIRC

%%

stmt: ASGNI(disp, reg) 1 (. print('ASGNI') .)
stmt: reg 0 (. .)
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 (. print('ADDRLP') .)
rc: con 0 (. .)
rc: reg 0 (. .)
con: CNSTI 0 (. print('CNSTI') .)
con: IOI 0 (. .)