from
http://www.nongnu.org/avr-libc/user-manual/inline_asm.html
it seemed to mean "read-write"?
and perhaps someone should update this:
http://www.ibiblio.org/gferg/ldp/GCC-Inline-Assembly-HOWTO.html
as I cannot find any such feature mentioned as well.
On Sat, Nov 14, 2009 at 11:15 AM, dinesh bhaskar <pdineshb@xxxxxxxxx> wrote:
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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ
--
Regards,
Peter Teoh