diff --git a/gen/asmstmt.cpp b/gen/asmstmt.cpp index 8555c84c..a99be8a9 100644 --- a/gen/asmstmt.cpp +++ b/gen/asmstmt.cpp @@ -258,7 +258,7 @@ AsmStatement::toIR(IRState * irs) static std::string p_cns = "p"; static std::string m_cns = "*m"; static std::string mw_cns = "=*m"; - static std::string mrw_cns = "+m"; + static std::string mrw_cns = "+*m"; static std::string memory_name = "memory"; AsmCode * code = (AsmCode *) asmcode;