Home > Enterprise >  what does the colon in asm volatile() mean
what does the colon in asm volatile() mean

Time:09-22

i'm not sure if i accidently modified the code a bit, but here it is:-

void out8(uint16 port, uint8 data) {asm volatile("outb %0, %1" : "dN"(port) : "a"(data));}
void out16(uint16 port, uint16 data) {asm volatile("outw %0, %1" : "dN"(port) : "a"(data));}
void out32(uint16 port, uint32 data) {asm volatile("outl %           
  • Related