Linux assembly query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux