delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/06/15/07:01:40

From: Martin Str|mberg <ams AT speedy DOT ludd DOT luth DOT se>
Subject: Re: Jumps in inline asm
Newsgroups: comp.os.msdos.djgpp
References: <aedkn3$7t6$3 AT news1 DOT song DOT fi>
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 <jonitoi AT mbnet DOT fi> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019