i was woundering if i could use pb's inline asm support in other languages via a dll i.e. say i wanted
_Inline_Asm
Mov param,param
inc param
etc
_End_Inline_Asm
parse this into the dll then do the asm caculating in dll then return the result back into the other language.
and how would i parse that into the dll using the
_Inline_Asm as the start (were the parser starts from
_End_Inline_Asm as the end (were the parser stops)
any help is apericiated
Damian
2 questions
2 questions
Codeng Makes Your Girl Friends Hate You 

-
- User
- Posts: 38
- Joined: Tue Dec 30, 2003 1:37 pm
- Location: Australia
Dunno if we can call GCC a translater tooWayne Diamond wrote:Actually Purebasic is a translater; it translates from PB source to assembly language (creating a .asm file from your .pb source). FASM is the actual assembler, and LCC the linker, or compiler if you like. But enough technicalitiesPurebasic is a Compiler, not a interpreter.

okay, i correct my self to answer the question :
Executables (Exe or DLL's) that are generated with Purebasic are running in a native mode.All Instructions have translated to asm and later to OpCode and bind together to a file. So You cannot parse later any asm-code , except you write a routine that temporary assemble the code and generate a DLL which you call (no easy task, but could work ) .
Executables (Exe or DLL's) that are generated with Purebasic are running in a native mode.All Instructions have translated to asm and later to OpCode and bind together to a file. So You cannot parse later any asm-code , except you write a routine that temporary assemble the code and generate a DLL which you call (no easy task, but could work ) .
SPAMINATOR NR.1