View Single Post

   
  #4 (permalink)  
Old 05-10-2008, 01:58 PM
Frank \frgo\ a.k.a DG1SBG
 
Posts: n/a
Default Re: $$dyncall in PA-RISC2.0 64 bit assembler ???

Dennis Handly <dhandly@convex.hp.com> writes:

> Frank Goenninger wrote:
>> While trying to get some old code to work under HP-UX 11.11 with a
>> PA-RISC 2.0 CPU-based machine in 64 bit mode I have some assembler
>> code that doesn't compile.
>> bl $$dyncall,%r31
>> The linker then barfs and says that $$dyncall is an unsatisfied
>> symbol. but no such symbol in /usr/lib/PA20_64/libmilli.a ...

>
> There is no need for $$dyncall on PA2.0 since there is an instruction
> that does exactly that BVE,L.
>
>>it was a monkey style problem solving technique

>
> Yes, looking at a simple example of an indirect call would show that.


You mean like

COPY gp, save_gp
LDD 16(fp), tmp
LDD 24(fp), gp
BVE,L (tmp), r2

COPY save_gp, gp

???

Thx!
Frank

--

Frank Goenninger

frgo(at)mac(dot)com

"Don't ask me! I haven't been reading comp.lang.lisp long enough to
really know ..."
Reply With Quote