Use of CALL in inline asembly 
Author Message
 Use of CALL in inline asembly

The following program snippet is refusing to compile in BC inline
assembly. It gives an undefined symbol error for funcx. If I replace
the call with a jmp, the problem goes away.

void testfunc()
{
asm     {
.....
call    funcx
....
        }                    <<- terminate inline asm (required for label)

funcx:
asm     {
......
        }              

Quote:
}

It appears that the jmp considers the funcx label as an address, but
the call doesn't. Strange.

Can anyone advise?



Fri, 05 Nov 1999 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. interfacing asembly and c++

2. Inline calls between modules

3. brk system call in inline assembly.

4. (inline assembler)calling interrupts in program compiled on MsVC.net, winXP

5. how to call a c++ constructor in vc++ inline assembly

6. GCC inline ASM -- calling C functions from __asm__

7. GCC inline ASM -- calling C functions from __asm__ blocks

8. Win32: Calling API Function via Inline Assembly

9. Inline Assembly: Defining and Calling a Procedure

10. VC42 inline asm calls member fn?

11. Texture on geometry called by Inline

12. porting inline Watcom asm to MSVC inline asm

 

 
Powered by phpBB® Forum Software