Assembly code fragment explanation

K Arun Kumar ziconium03 at gmail.com
Sun Sep 23 13:50:04 EDT 2012


Hi, 

I am trying to understand the x86 boot code where I encountered this
assembly code fragment - 

      asm volatile("lcallw *%0"
                 : : "m" (boot_params.hdr.realmode_swtch)
                 : "eax", "ebx", "ecx", "edx");


"lcallw *%0" - what does this mean ??

Regards,
Arun




More information about the Kernelnewbies mailing list