Date: Thu, 13 Jul 1995 07:58:19 +0300 From: eliz AT is DOT elta DOT co DOT il (Eli Zaretskii) To: guest AT dstn02 DOT dct DOT ac DOT uk Subject: Re: inline assembly problem Cc: djgpp AT sun DOT soe DOT clarkson DOT edu > main() { > > _AX = 0; > } > > using > > c:\source\tests> gcc m.c > > but I get the compiler errors: > > m.c: In function 'main': > m.c:3 '_AX' undeclared GCC doesn't support the _AX pseudo-registers a-la Turbo C. You must use inline assembly to do this, like this: asm("movw $0, %ax"); Detailed description of GCC inline assembly facilities may be found in the GCC Info files, under the node called ``Extended Asm''.