[PDF] Correction du Travaux Dirigés N°2





Previous PDF Next PDF



4. Initiation à lassembleur

étiquette au début d'une ligne pour identifier un énoncé par exemple. somme:. Quelle est la valeur du registre EFLAGS en hexadécimal quand tous les ...



1- Laddition 2- La soustraction 3- La multiplication 4- La division

d'addition inversement la division va être basée sur une succession de j- Convertissez 311710 en hexadécimal puis ce nombre hexadécimal en binaire.



Mathématiques appliquées à linformatique

Conversions binaire ? octal ou binaire ? hexadécimal . Le demi additionneur half adder ? Addition de 2 bits = circuit à 2 entrées .



LOGIQUE COMBINATOIRE ET SEQUENTIELLE

1 sept. 2020 bits de nombre binaire en hexadécimal en commençant par le bit du poids le ... rapportant la retenue qui doit être rajoutée à l'addition des ...



GIF-1001 Ordinateurs: Structure et Applications Hiver 2018 Examen

27 fév. 2018 Donnez un exemple de retenue générée lors d'une addition sur 5 bits en ... Pour chaque ligne on indique l'adresse (qui commence à 0x0)



Electronique Numérique Systèmes combinatoires

16 sept. 2010 Tableau 2-1 : Rapport entre hexadécimal décimal et binaire ... situation l'addition BCD est un processus direct équivalent à l'addition bi-.



Correction du Travaux Dirigés N°2

Exercice N° 5 : Soient les 2 nombres codés suivant la norme IEEE 754 et représentés en hexadécimal : 3EE00000 et 3D800000. Calculez en la somme 



Représentation des nombres flottants

Addition et soustraction de deux nombres décimales en virgule flottante. Opérandes Alignement. Normaliser et arrondir. 6.144 ´102. 0.06144 ´104.



Systèmes Logiques (1) Logique combinatoire

Le système Hexadécimal ou base 16 contient seize éléments qui sont {0 1



2) Numérisation

Addition de deux nombres binaires . Le code hexadécimal . ... Conversion Hexa/Binaire .



Calculatrice hexadécimale - Addition Soustraction

Adding Hexadecimal Numbers (E) Answers Calculate each sum 2C19 16 + F5E3 16 121FC 16 93FC 16 + 5ACA 16 EEC6 16 A6A3 16 + CA37 16 170DA 16 BF84 16 + BEC5 16 17E49 16 1141 16 + 3F96 16 50D7 16 62DE 16 + 7832 16 DB10 16 C85C 16 + B40C 16 17C68 16 ADCD 16 + 29C2 16 D78F 16 6996 16 + 3FFF 16 A995 16 9F89 16 + 8DFF 16 12D88 16 4D4D 16 + B653 16

  • Hex Addition

    Hex addition follows the same rules as decimal addition with the only difference being the added numerals A, B, C, D, E, and F. It may be convenient to have the decimal equivalent values of A through F handy when performing hex operations if the values have not yet been committed to memory. Below is an example of hex addition. Work through the exam...

  • Hex Subtraction

    Hex subtraction can be computed much the same way as hex addition; by performing the operation while converting between hex and decimal values. The most significant difference between hex and decimal subtraction involves borrowing. When borrowing in hex, the "1" that is borrowed represents 16decimal rather than 10decimal.This is because the column ...

  • Hex Multiplication

    Hex multiplication can be tricky because the conversions between hex and decimal when performing the operations require more effort since the numerals tend to be larger. Having a hexadecimal multiplication table can be helpful (one is provided below). Otherwise, manual conversion between decimal and hex will be necessary for each step. Below is an ...

What is hexadecimal in math?

En mathématiques et en informatique, l'hexadécimal est un système numérique positionnel avec une base de 16. Il utilise seize symboles distincts, le plus souvent les symboles 0-9 pour représenter les valeurs de zéro à neuf, et A, B, C, D, E, F (ou alternativement a-f) pour représenter les valeurs de dix à quinze.

What is hex addition?

Hex addition follows the same rules as decimal addition with the only difference being the added numerals A, B, C, D, E, and F. It may be convenient to have the decimal equivalent values of A through F handy when performing hex operations if the values have not yet been committed to memory. Below is an example of hex addition.

What is 2A in hex/decimal conversion?

Hex/Decimal Conversion. This means that for the value 2AA, each place value represents a power of 16. Starting from the right, the first "A" represents the "ones" place, or 16 0. The second "A" from the right represents 16 1, and the 2 represents 16 2. Remember that "A" in hex is equivalent to 10 in decimal.

How big is the adding hexadecimal numbers (base 16)(a) math worksheet?

Use the buttons below to print, open, or download the PDF version of the Adding Hexadecimal Numbers (Base 16) (A) math worksheet. The size of the PDF file is 43986 bytes. Preview images of the first and second (if there is one) pages are shown.

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

Correction du Travaux Dirigés N°2

Exercice Complémentaire : (Conversions)

Ecrire les nombres suivants dans les bases 2, 8, 10 et 16 :

7F(16)_ 11000001(2) 1000001(2)_ 13(10) 755(8)_ 1100000011011110(2)_

Correction :

_______ _ 1111111(2) 177(8) 127(10) 7F(16) _ 11000001(2) 301(8) 193(10) C1(16) _ 1000001(2) 101(8) 65(10) 41(16) _ 1101(2) 15(8) 13(10) 0D(16) _ 111101101(2) 755(8) 493(10) 1ED(16) _ 1100000011011110(2) 140336(8) 49374(10) C0DE(16)

Exercice N° 1 :

Exprimez le nombre décimal 100 dans les bases de 2 à 9 et en hexadécimal

Correction :

Base 2 1100100

Base 3 10201

Base 4 1210

Base 5 400

Base 6 244

Base 7 202

Base 8 144

Base 9 121

Base 16 64

Exercice N° 2 :

Multiplier 10011011 et 11001101 en binaire.

Correction :

Exercice N° 3 :

Convertir le nombre décimal 8,625 en virgule flottante suivant la norme IEEE 754

Correction :

Conversion de 8,625 en binaire : 8,625 => 1000,101 car o Partie entière : 8 => 1000 o Partie décimale : 0,625 => 0,101 Normalisation : 1000,101 = 1000,101 x 20 = 0,1000101 x 24

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

Normalisation IEEE 754 : 1000,101 = 1,0001010 x 23 (de la forme 1,xxxx où xxx = pseudo mantisse) Décomposition du nombre en ses divers éléments : o Bit de signe : 0 (Nombre >0) o Exposant sur 8 bits biaisé à 127 => 3 + 127 = 130 => 10000010 o Pseudo mantisse sur 23 bits : 000 1010 00000000 00000000

Signe Exposant biaisé Pseudo mantisse

0 1 0 0 0 0 0 1 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Exercice N° 4 :

Donnez la traduction à laquelle correspond le mot de 4 octets codé en hexadécimal suivant :

49 55 50 31, :

- un entier signé, - un entier représenté en complément à 2, - un nombre représenté en virgule flottante simple précision suivant la norme IEEE 754,

- une suite de caractères ASCII (représentés chacun sur 8 bits, le bit de plus fort poids étant

inutilisé et codé à 0)

Correction :

Hexadécimal 4 9 5 5 5 0 3 1

Binaire 0 100 1001 0 101 0101 0101 0000 0011 0001

Entier signé + 1 230 327 857

Complément à 2 + 1 230 327 857

IEEE 774

0 100 1001 0 101 0101 0101 0000 0011 0001

+ Exp biaisé : 146

Exp : 146 127 = 19

Pseudo mantisse : 101 0101 0101 000 0011 0001

Mantisse : 1, 101 0101 0101 0000 0011 0001

+ 1, 101 0101 0101 0000 0011 0001 x 219 + 1101 0101 0101 0000 0011, 0001 x 20 => 873 731, 0625

ASCII I U P 1

Exercice N° 5 :

Soient les 2 nombres codés suivant la norme IEEE 754 et représentés en hexadécimal :

3EE00000 et 3D800000

Calculez en la somme et donnez le résultat sous forme IEEE 754 et sous forme décimale. Même question avec les nombres : C8 80 00 00 et C8 00 00 00.

Correction :

Somme de 3EE00000 et 3D800000

Hexadécimal 3 E E 0 0 0 0 0

Binaire 0 011 1110 1 110 0000 0000 0000 0000 0000

IEEE 774 + Exp biaisé : 125

Exp : 125127 = -2

Pseudo mantisse : 110 0000 0000 0000 0000 0000

Mantisse : 1, 110 0000 0000 0000 0000 0000

+ 1, 110 x 2-2 ( => 0,4375 en décimal)

Hexadécimal 3 D 8 0 0 0 0 0

Binaire 0 011 1101 1 000 0000 0000 0000 0000 0000

IEEE 774 + Exp biaisé : 123 Exp : 123127 = -4

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Mantisse : 1, 000 0000 0000 0000 0000 0000

+ 1 , 0 x 2-4 ( => 0,0625 en décimal)

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

(1,110 x 2-2 ) + (1,0 x 2-4 ) = (1,110 x 2-2 ) + (0,010 x 2-2 ) = (1,110 + 0,010) x 2-2 = 10,0 x 2-2 = 1,0 x 2-1

IEEE 774

+ 1, 0 x 2-1 ( => 0, 5 en décimal) + Exp : = -1

Biaisé :-1+127 = 126

Mantisse : 1, 0

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Binaire 0 011 1111 0 000 0000 0000 0000 0000 0000

Hexadécimal 3 F 0 0 0 0 0 0

Somme de C8 80 00 00 et C8 00 00 00

Hexadécimal C 8 8 0 0 0 0 0

Binaire 1 100 1000 1 000 0000 0000 0000 0000 0000

IEEE 774 - Exp biaisé : 145 Exp : 145 127 =18

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Mantisse : 1, 000 0000 0000 0000 0000 0000

- 1 , 0 x 218 (- 262 144 en décimal)

Hexadécimal C 8 0 0 0 0 0 0

Binaire 1 100 1000 0 000 0000 0000 0000 0000 0000 IEEE 774 - Exp biaisé : 1442 Exp : 144 127 = 17

Pseudo mantisse : 000 0000 0000 0000 0000 0000

Mantisse : 1, 000 0000 0000 0000 0000 0000

- 1 , 0 x 217 (- 131 072en décimal) (- 1,.0 x 218) + (- 1, 0 x 217) = (- 1,.0 x 218) + (- 0, 1 x 218) = - 1,1 x 218

IEEE 774

- 1,10 x 218 en décimal) - Exposant = 18 Biaisé: 18 + 127= 145 Mantisse : 1, 10

Pseudo mantisse : 100 0000 0000 0000 0000 0000

1 100 1000 1 100 0000 0000 0000 0000 0000

Hexadécimal C 8 C 0 0 0 0 0

Exercice N° 6 :

Convertissez les quantités suivantes en valeurs IEEE à virgule flottante simple précision :

A = 128 B = 32.75 C = 18.125

Correction :

A = 0100'0011'0000'0000'0000'0000'0000'0000

B = 1100'0010'0000'0011'0000'0000'0000'0000

C = 0100'0001'1001'0001'0000'0000'0000'0000

Exercice N° 7 :

Quelles valeurs sont représentées par les nombres IEEE à virgule flottante en simple précision

présentés ci-après:

A = 1011'1101'0100'0000'0000'0000'0000'0000

B = 0101'0101'0110'0000'0000'0000'0000'0000

C = 1100'0001'1111'0000'0000'0000'0000'0000

Correction :

A = -0.046875

B = 1.539x1013

C = -30.0

Architecture Des Ordinateurs

ISET Mahdia 2009 / 2010

Exercice N° 9 :

Supposez un ordinateur 11 bits avec les nombres

réels représentés selon le format suivant, avec

Pour les valeurs 45.125 et 12.0625 donnez:

a. la représentation de chaque opérande

Correction :

45.125 = 0'1100'011010 erreur = 0.125

-12.0625 = 1'1010'100000 erreur = 0.0625quotesdbs_dbs24.pdfusesText_30
[PDF] addition et soustraction a imprimer

[PDF] addition hexadecimal exercice

[PDF] addition hexadecimal pdf

[PDF] addition hexadecimal cours

[PDF] pose et effectue multiplication

[PDF] fractions primaire 2e cycle

[PDF] évaluation addition soustraction nombres entiers cm2

[PDF] addition cm2 ? imprimer

[PDF] exercices addition soustraction nombres décimaux cm2

[PDF] additionner des nombres entiers cm2

[PDF] additionner des durées cm2

[PDF] opérations sur les durées

[PDF] additionner des durées cm1

[PDF] nombres sexagésimaux exercices

[PDF] exercice de durée cm2 a imprimer