Corrections TD2 - exo 3 TD3 - exo 1
Corrections TD2 - exo 3 TD3 - exo 1
Corrections TD2 - exo 3 TD3 - exo 1
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
oucle2<br />
movf INDF,w<br />
; W somme_pdsfaible<br />
btfsc STATUS,C<br />
; test si pas retenue<br />
incf somme_pdsfort,f ; sinon incremente somme_pdsfort<br />
decfsz compteur , f ; décrémenter compteur et tester sa valeur<br />
goto boucle2<br />
; il faut diviser par 4<br />
bcf STATUS,C<br />
;C