renamed some labels to make combining with other functions easier (global label names!)
This commit is contained in:
parent
edb61d1b09
commit
ce44657a98
10
code/gcd.txt
10
code/gcd.txt
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user