12.07.2015 Views

Systèmes de numération - UQAC

Systèmes de numération - UQAC

Systèmes de numération - UQAC

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Richard Tremblay et Djamal Rebaïnesystèmes <strong>de</strong> numérationLa chaîne <strong>de</strong> correction 0 1 1 0 0 1 1 0 0 1 1 0 ou 666 en hexadécimal est justifiée par ledépassement à 9 dans chacune <strong>de</strong>s positions décimales en tenant compte <strong>de</strong>s retenues générées.Remarque : Il y a dépassement à 9 à chaque fois qu’il y a retenue sur l’opération du <strong>de</strong>rnier bitdu motif <strong>de</strong> quatre bits.Exemple 26:99 1001 1001+ 99 + 1001 _1001___198 0011 0010 2 retenues à <strong>de</strong>rnière opération <strong>de</strong>s motif <strong>de</strong> 4 bits+ 0110 0110 Chaîne <strong>de</strong> correction1 1001 10001.5.2 La soustractionElle s'effectue en additionnant le complément à 10 du nombre à soustraire sans tenir compte <strong>de</strong> laretenue à l'extrême gauche (<strong>de</strong>rnière retenue).Exemple 26 :Décimal47- 1334 est remplacé par l'addition à 47 <strong>de</strong> 87 qui est le complément à 10 <strong>de</strong> 13, on a:DécimalBCD47 0 1 0 0 0 1 1 1+ 87 + 1 0 0 0 0 1 1 1134 1 1 0 0 1 1 1 0 CE+ 0 1 1 0 0 1 1 0 Chaîne <strong>de</strong> correction134 0 0 0 1 0 0 1 1 0 1 0 0 retenue ignoréequi donne le résultat escompté 34 en ignorant la <strong>de</strong>rnière retenue.Exemple 27 :Décimal847- 613234puisque 387 est le complément à 10 <strong>de</strong> 613,39

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!