Dynasm comes in two halves: the Lua preprocessor half, and the C runtime part. The Lua preprocessor half does the assembly parsing, whereas you seem to be looking for some way of assembly parsing at C runtime. In short, you're not going to find it (unless you spin up a Lua VM to run the Lua half of dynasm, or use something totally separate to dynasm). On Tue, Mar 10, 2015 at 2:08 PM, Amir Ramezani <amir.ramezani1370@xxxxxxxxx> wrote: > hi all, > i've read the dynasm tutorial, and i'm intrested in parsing the asmbly > with dynasm > how can i write a function that take's a string as a parameter and > parse's the string in assembly? > the function prototype must be like this i'm thinking: > void parse_asm(char* asmcode); > please provide me with the instruction that how can i implement the > parser in this function? > thanks in advance >