Hi Anthony, thanks for the advise and for the explanation.

You are totally right about posting firmware code on the forum.

Rafael


Em seg, 25 de jul de 2016 15:59, Tony Marchini <amarchini@rtd.com> escreveu:
I would like to start with, Do not disassemble copyrighted firmware and CERTAINLY don't post your results to a public forum.

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.

Anthony A. Marchini


--
coreboot mailing list: coreboot@coreboot.org
https://www.coreboot.org/mailman/listinfo/coreboot