X-Git-Url: https://mograsim.net/gitweb/?p=Mograsim.git;a=blobdiff_plain;f=tests%2Fnet.mograsim.logic.model.am2900.tests%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fgcd-mpm-doc.txt;h=49e71371d32dc4a3e337979d20730f57be498ac2;hp=3fd0abcd8a4dd53a6887a2e65176414e8f021dfd;hb=ba2d5de8b64de9de47c678d28e8ae35932f1b630;hpb=954fee5d1d150ec15be6575a1a374a06082f3949 diff --git a/tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/gcd-mpm-doc.txt b/tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/gcd-mpm-doc.txt index 3fd0abcd..49e71371 100644 --- a/tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/gcd-mpm-doc.txt +++ b/tests/net.mograsim.logic.model.am2900.tests/src/net/mograsim/logic/model/am2900/gcd-mpm-doc.txt @@ -2,8 +2,8 @@ Register allocation: R0: a1 (Euclid) R2: a2 (Euclid) -R1: b (Euclid) -Q: c (copy of b) / result +R1: b (Euclid) / result +Q: c (copy of b) Most of the time, a1 holds the actual value of a, and a2 holds some garbage. But in the main subtract-and-half loop, it sometimes is the other way around for speed reasons.