[DONE] TailBite inline ASM call question
Posted: Thu May 14, 2009 4:58 pm
I seem to be a !NOP because I don't get it running...
This code works fine
but as soon as i try to make a userlib I get the following error:

Does anybody know how to make ASM CALLs with TailByte?
THX
This code works fine
Code: Select all
ProcedureDLL MyLibFunc1(*Pointer)
!MOV edx, dword [p.p_Pointer]
!MOV ebx, [edx]
!ADD ebx, 10
!JMP l_theo
!RET
!NOP
!XOR ebx, edx
!NOP
!RET
theo:
!MOV [edx], ebx
!MOV dword [p.p_Pointer], edx
EndProcedure
ProcedureDLL MyLibFunc2(*Pointer)
!MOV edx, dword [p.p_Pointer]
!MOV ebx, [edx]
!ADD ebx, 10
!CALL l_nora
!JMP l_johann
!RET
!NOP
!XOR ebx, edx
!NOP
!RET
nora:
!NOP
!MOV [edx], ebx
!NOP
!RET
johann:
!NOP
!MOV dword [p.p_Pointer], edx
EndProcedure
a.l = 90
Debug a
MyLibFunc1(@a)
Debug a
MyLibFunc2(@a)
Debug abut as soon as i try to make a userlib I get the following error:

Does anybody know how to make ASM CALLs with TailByte?
THX


