Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Assembly x86 > Problem with fa...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 4583 of 4646
Post > Topic >>

Problem with fasm

by suchi_01 <spamtrap@[EMAIL PROTECTED] > Mar 22, 2008 at 01:18 AM

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?




 8 Posts in Topic:
Problem with fasm
suchi_01 <spamtrap@[E  2008-03-22 01:18:36 
Re: Problem with fasm
Frank Kotler <spamtra  2008-03-22 10:24:31 
Re: Problem with fasm
suchi_01 <spamtrap@[E  2008-03-23 22:00:36 
Re: Problem with fasm
Frank Kotler <spamtra  2008-03-24 07:10:39 
Re: Problem with fasm
suchi_01 <spamtrap@[E  2008-03-23 22:52:50 
Re: Problem with fasm
Frank Kotler <spamtra  2008-03-24 11:41:15 
Re: Problem with fasm
suchi_01 <spamtrap@[E  2008-03-24 04:19:06 
Re: Problem with fasm
suchi_01 <spamtrap@[E  2008-03-24 00:54:37 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue May 13 8:06:29 CDT 2008.