«« ( Date ) »» // «« ( Thread ) »» // mips-nastava - 2003

Pitanje za Gvozdena

by Stojiljkovic Predrag
utorak, 18. februar 2003 - 20:39.

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