A89: TIOS calling conventions
[Prev][Next][Index][Thread]
A89: TIOS calling conventions
How does TIOS pass variables to and results from command line functions?
Say I was going to write an asm function like 3Dto2D(x,y,z) that would take
a 3D point and convert it to a 2D point to display on the screen. I'm
guessing that the three variables would be passed on the stack, but how
would the result be returned? I thought it would be returned on the stack,
but all that talk about resetting the stack pointer convinced me otherwise.
--Nate
Follow-Ups: