www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/11/22/19:13:16

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: <Pine DOT LNX DOT 3 DOT 91 DOT 961115151041 DOT 402B-100000 AT hostr DOT bielbit DOT bielsko DOT pl> <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
<A HREF="http://www.abwillms.demon.co.uk/">Hello :-)</A>

- Raw text -


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