[coreboot] Convert Assembly JMP to C

Peter Stuge peter at stuge.se
Wed Sep 10 22:45:13 CEST 2008


Joseph Smith wrote:
> How do I convert an Assembly JMP instruction to C.

Short answer: You can't. There is setjmp() but it is not supported in
libpayload.

Write a function in assembly that you can call from C. There should
be lots of examples of this on the net. One immediate resource idea
is http://asmutils.sf.net/


//Peter




More information about the coreboot mailing list