Formatting before PR

This commit is contained in:
stefandesouza
2024-01-10 13:05:27 +01:00
parent 226bc8eee0
commit 1fb015b312
3 changed files with 7 additions and 4 deletions

View File

@@ -433,9 +433,10 @@ class ParserAArch64(BaseParser):
scale = 2 ** int(memory_address["index"]["shift"][0]["value"])
if index is not None:
index = RegisterOperand(
name=index["name"], prefix_id=index["prefix"] if "prefix" in index else None,
name=index["name"],
prefix_id=index["prefix"] if "prefix" in index else None,
shift=index["shift"] if "shift" in index else None,
shift_op=index["shift_op"] if "shift_op" in index else None
shift_op=index["shift_op"] if "shift_op" in index else None,
)
new_dict = MemoryOperand(
offset_ID=offset,

View File

@@ -22,7 +22,7 @@ class RegisterOperand(Operand):
pre_indexed=False,
post_indexed=False,
shift=False,
shift_op=False
shift_op=False,
):
super().__init__(name, source, destination)
self._width_id = width_id