Permalink
Browse files

Résolution d'un bug du PGCD

  • Loading branch information...
1 parent db842c6 commit 2ff20c071f74674f23692e100a27e77be9254235 @Yamakaky Yamakaky committed May 14, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 routines/Routines_nombres.dasm
@@ -21,9 +21,10 @@ set push,b
set push,c
ifg b,a
jsr reverseab
-set c,b
+set c,a
:pgcd_loop
-mod c,a
+
+mod c,b
ife c,0
set pc,pgcd_setzb
set a,b

0 comments on commit 2ff20c0

Please sign in to comment.