annotate python/cortexm3desc.py @ 276:56d37ed4b4d2

phaa
author Windel Bouwman
date Mon, 16 Sep 2013 21:51:17 +0200
parents 444b9df2ed99
children
rev   line source
261
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
1
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
2 # Patterns
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
4 import cortexm3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
5 import ir
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
6
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
7
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
8 {
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
9 """
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
10 v3 = const1
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
11 v1 = v2 + v3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
12 [v1] = v3
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
13 """: cortexm3.
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
14 }
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
15
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
16
444b9df2ed99 try to split up code generation
Windel Bouwman
parents:
diff changeset
17