# HG changeset patch # User Windel Bouwman # Date 1371283370 -7200 # Node ID f22b431f41131d8eca3e55c85750f01d0e72c017 # Parent d5debbfc02006af332b957ddcda68c11c074b89d Added arm add instruction diff -r d5debbfc0200 -r f22b431f4113 python/arm_cm3.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python/arm_cm3.py Sat Jun 15 10:02:50 2013 +0200 @@ -0,0 +1,75 @@ +from target import Register, Instruction, Target +from asmnodes import ASymbol, ANumber +from ppci import CompilerError +import struct, types + +def u16(h): + return struct.pack('