X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=tests%2Fnet.mograsim.logic.model.am2900.tests%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Fam2900%2Fgcd-mpm-doc.txt;h=49e71371d32dc4a3e337979d20730f57be498ac2;hb=5995c2c9f891ae852a40b4c4736b090d514e7c0a;hp=3fd0abcd8a4dd53a6887a2e65176414e8f021dfd;hpb=954fee5d1d150ec15be6575a1a374a06082f3949;p=Mograsim.git 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.