From c2707b6143ac35674594adb357bdd213dd2f50d5 Mon Sep 17 00:00:00 2001 From: Richard Osborne Date: Sun, 25 Mar 2012 22:52:12 +0100 Subject: [PATCH] Fix tracing of OUT instruction. --- InstructionGen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/InstructionGen.cpp b/InstructionGen.cpp index 441e899..8d7abb1 100644 --- a/InstructionGen.cpp +++ b/InstructionGen.cpp @@ -2158,7 +2158,7 @@ void add() " %exception(ET_ILLEGAL_RESOURCE, resID);\n" "}\n") .setYieldBefore(); - f2r_in("OUT", "out %0, res[%1]", + f2r_in("OUT", "out res[%1], %0", "ResourceID resID(%1);\n" "if (Resource *res = checkResource(CORE, resID)) {\n" " switch (res->out(THREAD, %0, TIME)) {\n"