Pitanje za Gvozdena
U folijama za predavanja, vezano za izracunavanje adrese skoka, pise sledece:
Intrasegment Direct
The effective branch address is the sum of an 8- or 16-bit displacement and the current contents of IP. When the displacement is 8 bits long, it is referred to as a short jump. Intrasegment direct addressing is what most computer books refer to as relative addressing because the displacement is computed "relative" to the IP. It may be used with either conditional or unconditional branching, but a conditional branch instruction can have only an 8-bit displacement.
U resenju ispitnog zadatka (januar 2003.) stoji sledece:
intrasegmentno direktno
CS:Disp = 6C6FH
Zar ne bi trebalo da bude: CS : IP+Disp ?????
Pedja
Intrasegment Direct
The effective branch address is the sum of an 8- or 16-bit displacement and the current contents of IP. When the displacement is 8 bits long, it is referred to as a short jump. Intrasegment direct addressing is what most computer books refer to as relative addressing because the displacement is computed "relative" to the IP. It may be used with either conditional or unconditional branching, but a conditional branch instruction can have only an 8-bit displacement.
U resenju ispitnog zadatka (januar 2003.) stoji sledece:
intrasegmentno direktno
CS:Disp = 6C6FH
Zar ne bi trebalo da bude: CS : IP+Disp ?????
Pedja
- Follow-Ups:
- Re: Pitanje za Gvozdena
- From: "Gvozden Marinkovic" <mgvozden@eunet.yu>
- Re: Pitanje za Gvozdena
Previous by date: Re: Fw: bugbear
Next by date: Re: Pitanje za Gvozdena
Previous by thread: Re: pitanje za Gvozdena Next by thread: Re: Pitanje za Gvozdena
Previous by thread: Re: pitanje za Gvozdena Next by thread: Re: Pitanje za Gvozdena