Can someone show me how to call a function IN PURE ASM (windows) that takes a string and returns a string?
I tried looking at the asm output of pb for such a function but it was full of macros and weirdness, I was worried I might make mistakes if I tried to copy what pb does.
I don't suppose there's any technique that will guaranteed to work in future version of pb? I want the assembly equivalent of this:
Code: Select all
Procedure.s func(s.s)
Protected s2.s
; misc code goes here
ProcedureReturn s2
EndProcedure
s.s
s2.s
s2 = func(s)