From 8fed613d35a1b6371a04116d33cdc57624c8c3c9 Mon Sep 17 00:00:00 2001 From: Sam Sneed <163201376+sam-sneed@users.noreply.github.com> Date: Sat, 27 Jul 2024 18:44:46 -0500 Subject: [PATCH] D'oh! A typo! Fix typo on line 318. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 2b7e032..b29cba9 100644 --- a/main.py +++ b/main.py @@ -315,7 +315,7 @@ def translate_arm64_to_x86(arm64_ins): x86_instructions.append(generate_x86_instruction('mov', [reg_mapping[operands[0]], f"[{operands[1]}]"])) # Simplified example for setting state elif arm64_ins.mnemonic == 'clr': - x86_instructions.append(generate_x86_instruction('mov', [reg_mapping[operands[0]], 0]) # Simplified example for clearing state + x86_instructions.append(generate_x86_instruction('mov', [reg_mapping[operands[0]], 0])) # Simplified example for clearing state elif arm64_ins.mnemonic == 'ldx': if operands[0] in reg_mapping and operands[1] in reg_mapping: