diff --git a/src/arch/mips/isa/formats/mem.isa b/src/arch/mips/isa/formats/mem.isa index 7349516b68..a2710fb902 100644 --- a/src/arch/mips/isa/formats/mem.isa +++ b/src/arch/mips/isa/formats/mem.isa @@ -109,16 +109,16 @@ output exec {{ switch (packet->getSize()) { case 1: - return packet->get(); + return packet->getLE(); case 2: - return packet->get(); + return packet->getLE(); case 4: - return packet->get(); + return packet->getLE(); case 8: - return packet->get(); + return packet->getLE(); default: std::cerr << "bad store data size = " << packet->getSize() << std::endl;