From: alaric AT abwillms DOT demon DOT co DOT uk (Alaric B. Williams) Newsgroups: comp.os.msdos.djgpp Subject: Re: Is there O2S like OBJ2ASM? Date: Fri, 22 Nov 1996 18:52:56 GMT Lines: 35 Message-ID: <848688769.22596.0@abwillms.demon.co.uk> References: <5701pm$hkv AT hauva DOT research DOT nokia DOT com> NNTP-Posting-Host: abwillms.demon.co.uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Petteri DOT Kangaslampi AT research DOT nokia DOT com (Petteri Kangaslampi) wrote: >Also, I know that one piece of code gets transformed wrong. If you have a >pointer to a function in a variable, and want to call that, the resulting AT&T >assembler code just tries to call the address of the variable. So in effect > call [dword pointer] >gets replaced by > call pointer >(TASM IDEAL mode syntax). I actually don't know how to implement the first one >with AT&T syntax assembler. We ended up changing the code to It's this kind of thing that makes AT&T assembler hard for me :-( I'm always trying to do funny things with calls and the like, and the precise syntax for this isn't really explained anywhere I have found! So how /do/ you do it? call pointer call (pointer) ABW -- "Simply drag your mother in law's cellphone number from the Address Book to the Laser Satellite icon, and the Targeting Wizard will locate her. Then follow the onscreen prompts for gigawattage and dispersion pattern..." (Windows for Early Warning and Defence User's manual P385) Alaric B. Williams Internet : alaric AT abwillms DOT demon DOT co DOT uk Hello :-)