Newsgroups: comp.os.msdos.djgpp From: dshnv AT www DOT com Subject: asm instructions Lines: 36 Message-ID: X-Abuse-Info: When contacting newsranger.com regarding abuse please X-Abuse-Info: forward the entire news article including headers or X-Abuse-Info: else we will not be able to process your request X-Complaints-To: abuse AT newsranger DOT com NNTP-Posting-Date: Mon, 13 Aug 2001 15:45:48 EDT Organization: http://www.newsranger.com Date: Mon, 13 Aug 2001 19:45:48 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hello, I've a problem with using the AT&T-syntax assembler. I have a source file (test.s) which contains the following lines: push %ds push %es push %fs push %gs pushad movw $0x30, %bx movl %ebx, %ds ... popad .. .. iretd When I want to compile it (as -o test.o test.s) I get the following errors: test.s: Assembler messages: test.s:163: Error: no such instruction: `pushad' test.s:177: Error: no such instruction: `popad' test.s:183: Error: no such instruction: `iretd' What instructions are the equivalent to these and are valid under the AT&T syntax assembler? (the TASM to AT&T converter I found on the internet converts 'pushad' as 'pushad' so that doesn't work. Does anyone maybe have a pointer to where I can find the valid instructions and their intel equivalents?) Thanx, dshnv AT www DOT com