Code: Select all
Procedure test(a)
!NEG [v_a]
ProcedureReturn a
EndProcedure
Debug test(1)
Code: Select all
Procedure test(a)
Shared a
!NEG [v_a]
ProcedureReturn a
EndProcedure
Debug test(1)
Anyone know how to use non global vars inside a procedure with inline asm?
It would make coding so much easier if inline asm didn't need the vars to be global.
EDIT: Yes I know about fetching the arguments from the stack etc. What I'm wondering is, would it be possible to not to that, it may be slower but a bit more practical.
EDIT: I also thought procedure arguments allready was global?

