Hello all,

can somebody explain me the following assembly syntax, this I have
seen in Linux kernel code.

 asm volatile("int $0x16"
             : "+a" (ax), "+b" (bx)
             : : "ecx", "edx", "esi", "edi");

I did not understand :"+a" mean.  what does "+" tell there?
Generally we use "=a", indicating the output operands and other
registers are indicated as clobbered registeres.


TIA
dinesh

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to