renamed some labels to make combining with other functions easier (global label names!)

This commit is contained in:
Bob Polis 2020-09-11 12:59:18 +02:00
parent edb61d1b09
commit ce44657a98

View File

@ -5,7 +5,7 @@ gto
=u =u
$u $u
$v $v
>loop >gcd-loop
gge gge
$u $u
=t =t
@ -13,10 +13,10 @@ $v
=u =u
$t $t
=v =v
:loop :gcd-loop
$v $v
0 0
>ret >gcd-ret
gle gle
$v $v
=t =t
@ -26,9 +26,9 @@ mod
=v =v
$t $t
=u =u
>loop >gcd-loop
gto gto
:ret :gcd-ret
$u $u
ret ret
:main :main