Problem with fasm



Hi All,
There is a complicated issue here. I have downloaded
fasm source of a driver and want to integrate it to my kernel.
However, there is a problem:

1. If i call a FASM function from within C code (kernel), it is not
able to return back to the next line in C Code
2. If i call a NASM function from within C Code, it works properly (it
returns back to next line in C Code)

Here are the code snippets:

NASM:

global <func name>

<func name>:
ret


FASM:

public <func name>

<func name>:
ret


Is there a global keyword or similar stuff in FASM?

.



Relevant Pages

  • Problem with FASM
    ... If i call a FASM function from within C code (kernel), ... returns back to next line in C Code after assembling assembly code) ... global <func name> ...
    (alt.lang.asm)
  • Re: Problem with fasm
    ... If i call a FASM function from within C code, ... global <func name> ... xor eax, eax ... mov eax, ...
    (comp.lang.asm.x86)