Mercurial > lcfOS
diff test/sample4.brg @ 321:8c569fbe60e4
Load yacc and burg dynamic
author | Windel Bouwman |
---|---|
date | Sun, 19 Jan 2014 18:48:45 +0100 |
parents | python/arm.pb@84d67cce67b7 |
children | 44f336460c2a |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/test/sample4.brg Sun Jan 19 18:48:45 2014 +0100 @@ -0,0 +1,20 @@ + +%terminal ADDI ADDRLP ASGNI +%terminal CNSTI CVCI IOI INDIRC + +%% + +stmt: ASGNI(disp, reg) 1 (. self.tr(1) .) +stmt: reg 0 (. self.tr(2).) +reg: ADDI(reg, rc) 1 (. self.tr(3) .) +reg: CVCI(INDIRC(disp)) 1 (. self.tr(4) .) +reg: IOI 0 (. self.tr(5).) +reg: disp 1 (. self.tr(6).) +disp: ADDI(reg, con) 1 (. self.tr(7).) +disp: ADDRLP 0 (. self.tr(8).) +rc: con 0 (. self.tr(9).) +rc: reg 0 (. self.tr(10).) +con: CNSTI 0 (. self.tr(11).) +con: IOI 0 (. self.tr(12).) + +