diff python/arm_cm3.py @ 207:8b2f20aae086

cleaning of files
author Windel Bouwman
date Sat, 29 Jun 2013 10:05:42 +0200
parents 6c6bf8890d8a
children 62386bcee1ba
line wrap: on
line diff
--- a/python/arm_cm3.py	Fri Jun 28 16:49:38 2013 +0200
+++ b/python/arm_cm3.py	Sat Jun 29 10:05:42 2013 +0200
@@ -241,6 +241,8 @@
     mnemonic = 'pop'
     def __init__(self, regs):
         self.regs = regs
+    def __repr__(self):
+        return '{0} {{{1}}}'.format(self.mnemonic, self.regs)
     def encode(self):
         reg_list = 0
         P = 0