diff --git a/code/gcd.txt b/code/gcd.txt index 8c0c910..bcdeb55 100644 --- a/code/gcd.txt +++ b/code/gcd.txt @@ -5,7 +5,7 @@ gto =u $u $v ->loop +>gcd-loop gge $u =t @@ -13,10 +13,10 @@ $v =u $t =v -:loop +:gcd-loop $v 0 ->ret +>gcd-ret gle $v =t @@ -26,9 +26,9 @@ mod =v $t =u ->loop +>gcd-loop gto -:ret +:gcd-ret $u ret :main