<p dir="ltr">Hi Anthony, thanks for the advise and for the explanation.</p>
<p dir="ltr">You are totally right about posting firmware code on the forum.</p>
<p dir="ltr">Rafael</p>
<br><div class="gmail_quote"><div dir="ltr">Em seg, 25 de jul de 2016 15:59, Tony Marchini <<a href="mailto:amarchini@rtd.com">amarchini@rtd.com</a>> escreveu:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I would like to start with, Do not disassemble copyrighted firmware and CERTAINLY don't post your results to a public forum.<br>
<br>
That said, the di in this case is being used as a return instruction in a piece of BIOS that clearly doesn't have the memory enabled yet. No memory, no stack. No stack then no call /ret instructions. Here they set the return point and put it in the di register and then "call" the function. The instruction after the jp di is another function.<br>
<br>
Anthony A. Marchini<br>
<br>
<br>
--<br>
coreboot mailing list: <a href="mailto:coreboot@coreboot.org" target="_blank">coreboot@coreboot.org</a><br>
<a href="https://www.coreboot.org/mailman/listinfo/coreboot" rel="noreferrer" target="_blank">https://www.coreboot.org/mailman/listinfo/coreboot</a><br>
</blockquote></div>