Hi again,
I am using the neo geo dev kit of Neothunder
Using the same model as libvideo.c (and video.s) i am coding some tools asm routs
Guys, can you tell me if you always save context before entering the asm rout or not ?
In the neothunder kit i found an helper.s with a SAVECONTEXT and RESTORECONTEXT to do it.
What hapenning if a register is used by the code ?
I call the asm rout from my .c code ... so how can i be sure that D0 register for instance is not used ?
D0 register is always used for the return of the asm rout ?
Thanks in advance