diff options
Diffstat (limited to 'Registers.py')
-rw-r--r-- | Registers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Registers.py b/Registers.py index 7fac4dd..13149fb 100644 --- a/Registers.py +++ b/Registers.py @@ -153,7 +153,7 @@ class Registers(object): elif len(matches) == 3: instruction, reg, operand = matches # remove whitespace from the operand. LF and CR do not occur - operand = operand.translate(None, "\t ") + operand = operand.replace("\t", "").replace(" ", "") if (operand.startswith("[--" + register) or operand.endswith(register + "++]")): return True |