Added shift and shift_op to Register Operand

This commit is contained in:
stefandesouza
2024-01-04 14:34:36 +01:00
parent 0b3508abf8
commit 226bc8eee0
4 changed files with 35 additions and 26 deletions

View File

@@ -216,13 +216,7 @@ class TestParserAArch64(unittest.TestCase):
MemoryOperand(
offset_ID=None,
base_id=RegisterOperand(prefix_id="x", name="11"),
index_id={
"prefix": "w",
"name": "10",
"shift_op": "sxtw",
"immediate": {"value": "2"},
"shift": [{"value": "2"}],
},
index_id=RegisterOperand(prefix_id="w", name="10", shift_op="sxtw", shift=[{"value": "2"}]),
scale_id=4,
),
],