Difference between revisions of "Lua:autoAssemble"
Jump to navigation
Jump to search
(Created page with ''''function''' autoAssemble(''AutoAssemblerScript'') Executes the given string by ce's auto assembler. tip: Use [[ ]] quotes for multiline script. Example: autoAssemb([[ …') |
|||
Line 6: | Line 6: | ||
Example: | Example: | ||
− | + | autoAssemble([[ | |
alloc(myscript) | alloc(myscript) | ||
label(returnhere) | label(returnhere) | ||
− | + | ||
myscript: | myscript: | ||
mov eax,123 | mov eax,123 | ||
jmp returnhere | jmp returnhere | ||
− | + | ||
00400500: | 00400500: | ||
jmp myscript | jmp myscript |
Revision as of 18:02, 24 February 2012
function autoAssemble(AutoAssemblerScript)
Executes the given string by ce's auto assembler.
tip: Use [[ ]] quotes for multiline script.
Example:
autoAssemble([[ alloc(myscript) label(returnhere) myscript: mov eax,123 jmp returnhere 00400500: jmp myscript returnhere: ]])
Function Parameters
Parameter | Type | Description |
---|---|---|
AutoAssemblerScript | String | The script to execute by the auto assembler |