From: Martin Str|mberg Subject: Re: Jumps in inline asm Newsgroups: comp.os.msdos.djgpp References: User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (NetBSD/1.5_BETA (alpha)) Message-ID: <1024135619.329375@queeg.ludd.luth.se> Cache-Post-Path: queeg.ludd.luth.se!unknown AT speedy DOT ludd DOT luth DOT se X-Cache: nntpcache 2.4.0b5 (see http://www.nntpcache.org/) Date: 15 Jun 2002 10:06:59 GMT Lines: 18 NNTP-Posting-Date: 15 Jun 2002 10:06:59 GMT NNTP-Posting-Host: queeg.ludd.luth.se X-Trace: 1024135619 news.luth.se 285 130.240.16.109 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Joni Toivanen wrote: : I couldn't find this from as nor gcc info, so I'm asking it here. : How do I translate 'jmp _label + 0xDFFF0000' (intel syntax) to : at&t syntax? Try to write some C code that does this and compile with -S and look at the reulting .S (or is it .s) file. : I tried things like 'jmp _label + $0xDFFF000' and : 'jmp $0xDFFF0000(_label)', but none of them worked... Not sure but what does "jmp $(_label + $0xDFFF000)" do? (_label is a immediate value just like 0xDFFF000.) Right, MartinS