Adressage memoire help !!!

Fermé
zakuzasama Messages postés 135 Date d'inscription dimanche 12 mars 2006 Statut Membre Dernière intervention 11 avril 2015 - 12 avril 2006 à 15:59
zakuzasama Messages postés 135 Date d'inscription dimanche 12 mars 2006 Statut Membre Dernière intervention 11 avril 2015 - 12 avril 2006 à 21:27
Bonjour a tous j ai un exercices auquel je ne comprend pas grand chose s'il vous plait aidez moi :
somme d un petit positif (000f) avec un petit positif (000f)
-a

2A5B : 0100 mov ax,000f
2A5B : 0103 mov bx,000f
2A5B : 0106 add ax,bx
2A5B : 0108

-r
AX=0000 BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000 DS=2A5B ES=2A5B SS=2A5B CS=2A5B IP=0100 NV UP EI PL NZ NA PO NC
2A5B:0100 B80f00 mov AX,000f
-t


AX=000F BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000 DS=2A5B ES=2A5B SS=2A5B CS=2A5B IP=0103 NV UP EI PL NZ NA PO NC
2A5B:0103 BB0f00 mov BX,000f
-t


AX=000F BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000 DS=2A5B ES=2A5B SS=2A5B CS=2A5B IP=0106 NV UP EI PL NZ NA PO NC
2A5B:0106 BB0f00 add AX,BX
-t


AX=000F BX=0000 CX=0000 DX=0000 SP=FFEE BP=0000 SI=0000 DI=0000 DS=2A5B ES=2A5B SS=2A5B CS=2A5B IP=0108 NV UP EI PL NZ NA PO NC
2A5B:0108 06 PUSH ES
-

2 réponses

zakuzasama Messages postés 135 Date d'inscription dimanche 12 mars 2006 Statut Membre Dernière intervention 11 avril 2015 1
12 avril 2006 à 17:19
personne pour m aider :(
0
zakuzasama Messages postés 135 Date d'inscription dimanche 12 mars 2006 Statut Membre Dernière intervention 11 avril 2015 1
12 avril 2006 à 21:27
personne pour maider :(
j ai compris comment associer segment et offset
data = DS:SI
instruction=CS:IP

que 2A5B : 0103 mov bx,000f (veut dire ajouter 15 dans bx)
2A5B : 0106 add ax,bx (veut dire additionner ax et bx)

mais a quoi correspondent les hexa suivant B80F00 ,BB0F00, 01D8

merci d avance
0