It is currently Sat May 18, 2013 6:08 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: How to make a Static LIB or OBJ in FASM?
PostPosted: Thu May 24, 2007 1:14 am 
Offline
Enthusiast
Enthusiast

Joined: Fri Sep 12, 2003 10:40 pm
Posts: 677
Location: Tallahassee, Florida
i have some ASM sources written in FASM that id like to compile to a LIB or OBJ, but i cant seem to get them to work in RADASM. Nor can i make Fresh, a FASM IDE compile them for me.

How do you make a static LIB/OBJ in FASM? I have all the sources, and defs for the macros used.

It would be even better just to be able to use them inline inside PB, but the macros wont compile either. How does one use a large amount of ASM in PB?

_________________
Code:
!.WHILE status != dwPassedOut
! Invoke AllocateDrink, dwBeerAmount
!MOV Mug, Beer
!Invoke Drink, Mug, dwBeerAmount
!.endw


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 11:52 am 
Offline
Always Here
Always Here
User avatar

Joined: Mon Sep 22, 2003 6:45 pm
Posts: 7304
Location: Norway
Include the asm file for use in PB:
Code:
!include asmfile


Compile to a lib:
Code:
format ms coff
Place it at the top of the asm file

_________________
Woa, I set up a web server.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye