Make undoc RMW opcodes pass new tests.

This commit is contained in:
edmccard 2012-04-11 23:31:02 -04:00
parent 5864e07e74
commit 68dde7ef87
1 changed files with 1 additions and 1 deletions

View File

@ -130,7 +130,7 @@ class NmosUndoc(bool strict, bool cumulative) : NmosBase!(strict, cumulative)
return "poke(primaryAddress, (readVal = read(primaryAddress)));\n" ~
"writeFinal(primaryAddress, flag.zero_ = flag.negative_ = " ~
"(writeVal = " ~ action1 ~ "(readVal)));\n" ~
action2 ~ " writeVal;\n";
"flag.zero_ = flag.negative_ = (" ~action2 ~ " writeVal);\n";
}
static string RMW_Compare(string action1, string action2)