arch: Make and use endian specific versions of the mem helpers.
[gem5.git] / src / arch / micro_asm_test.py
index b074ecb58f55e20110102f25b06bdadb70ece2cb..e5755f717a4a3e796d74bcaf012672ea0be00ac7 100755 (executable)
@@ -26,6 +26,8 @@
 #
 # Authors: Gabe Black
 
+from __future__ import print_function
+
 from micro_asm import MicroAssembler, Combinational_Macroop, Rom_Macroop, Rom
 
 class Bah(object):
@@ -58,7 +60,7 @@ class TestMacroop(Combinational_Macroop):
     def untweak(self):
         microops["bah"] = Bah
     def print_debug(self, message):
-        print message
+        print(message)
 
     def __init__(self, name):
         super(TestMacroop, self).__init__(name)