diff python/cortexm3desc.py @ 261:444b9df2ed99

try to split up code generation
author Windel Bouwman
date Fri, 09 Aug 2013 09:05:13 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/python/cortexm3desc.py	Fri Aug 09 09:05:13 2013 +0200
@@ -0,0 +1,17 @@
+
+# Patterns
+
+import cortexm3
+import ir
+
+
+{
+"""
+v3 = const1
+v1 = v2 + v3
+[v1] = v3
+""": cortexm3.
+}
+
+
+