Take the 2-minute tour ×

When reading the linux 0.01 kernel I pass throw some inline gas which is hard for me to decode:

__asm__("movl $0x3ff000,%%eax\n\t"
            "movl %%eax,%%db0\n\t"
            "movl $0x000d0303,%%eax\n\t"
            "movl %%eax,%%db7"


__asm__("push %%fs;mov %%ax,%%fs;movl %%fs:%2,%%eax;pop %%fs" \
        :"=a" (__res):"0" (seg),"m" (*(addr))); \

I don't understand how to interpret the stuff in between the ':'.

Does anyone got some documentation about it?


share|improve this question

1 Answer 1

Your Answer


