about summary refs log tree commit diff stats
path: root/miasm2/arch/arm/regs.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm2/arch/arm/regs.py')
-rw-r--r--miasm2/arch/arm/regs.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/miasm2/arch/arm/regs.py b/miasm2/arch/arm/regs.py
index e20b00bd..f39f2161 100644
--- a/miasm2/arch/arm/regs.py
+++ b/miasm2/arch/arm/regs.py
@@ -1,11 +1,12 @@
 #-*- coding:utf-8 -*-
 
+from builtins import range
 from miasm2.expression.expression import *
 
 
 # GP
 
-regs32_str = ["R%d" % i for i in xrange(13)] + ["SP", "LR", "PC"]
+regs32_str = ["R%d" % i for i in range(13)] + ["SP", "LR", "PC"]
 regs32_expr = [ExprId(x, 32) for x in regs32_str]
 
 exception_flags = ExprId('exception_flags', 32)