diff --git a/src/frontend/A64/translate/impl/load_store_register_unprivileged.cpp b/src/frontend/A64/translate/impl/load_store_register_unprivileged.cpp index df90f7f3..414d0983 100644 --- a/src/frontend/A64/translate/impl/load_store_register_unprivileged.cpp +++ b/src/frontend/A64/translate/impl/load_store_register_unprivileged.cpp @@ -132,7 +132,7 @@ bool TranslatorVisitor::LDTRSH(Imm<2> opc, Imm<9> imm9, Reg Rn, Reg Rt) { } bool TranslatorVisitor::LDTRSW(Imm<9> imm9, Reg Rn, Reg Rt) { - const u64 offset = imm9.ZeroExtend(); + const u64 offset = imm9.SignExtend(); AccType acctype = AccType::UNPRIV; IR::U64 address;