Good one!
No, it won't break anything (only IX should be preserved (push/pop) before the function returns).
Also, it's recommended to make your labels private. To do so:
Wrap your ASM routine between
directives.
Declare your labels locals after PROC, with:
LOCAL NXTFADE, NXT
:-)
If your code is BSD / MIT / Apache I can put it in the standard library for other people to use it.
No, it won't break anything (only IX should be preserved (push/pop) before the function returns).
Also, it's recommended to make your labels private. To do so:
Wrap your ASM routine between
Code:
PROC
...
ENDP
Declare your labels locals after PROC, with:
LOCAL NXTFADE, NXT
:-)
If your code is BSD / MIT / Apache I can put it in the standard library for other people to use it.
---
Boriel
Boriel