comparison python/cortexm3.py @ 287:1c7c1e619be8

File movage
author Windel Bouwman
date Thu, 21 Nov 2013 11:57:27 +0100
parents 02385f62f250
children
comparison
equal deleted inserted replaced
286:d9df72971cbf 287:1c7c1e619be8
3 from target import Register, Instruction, Target, Imm8, Label, Imm3, LabelRef 3 from target import Register, Instruction, Target, Imm8, Label, Imm3, LabelRef
4 from target import Imm32, Imm7 4 from target import Imm32, Imm7
5 from asmnodes import ASymbol, ANumber, AUnop, ABinop 5 from asmnodes import ASymbol, ANumber, AUnop, ABinop
6 from ppci import CompilerError 6 from ppci import CompilerError
7 import ir 7 import ir
8
9 """
10 ARM target description.
11 """
8 12
9 # TODO: encode this in DSL (domain specific language) 13 # TODO: encode this in DSL (domain specific language)
10 # TBD: is this required? 14 # TBD: is this required?
11 15
12 def u16(h): 16 def u16(h):