Skip to content

Commit

Permalink
Fix typo in aarch64_immhi_page decode
Browse files Browse the repository at this point in the history
  • Loading branch information
AeonLucid committed Aug 3, 2024
1 parent 3e22013 commit ed931ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion miasm/arch/aarch64/arch.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ def decode(self, v):
def encode(self):
v = int(self.expr)
if v & (1 << 63):
v &= (1 << 33) - 1
v &= (1 << 21) - 1
self.parent.immlo.value = v & 3
v >>= 2
if v > (1 << 19) - 1:
Expand Down

0 comments on commit ed931ea

Please sign in to comment.