On Saturday 31. January 2009, Andrew Collier wrote: > Hi, > > AS you may know, if you CALL a machine code routine with some > parameters, they are pushed onto the ROM's floating point calculator > stack. I'm trying to use this, but having some difficulty getting the > numbers back out again. Can anyone spot what's going wrong?
Since no one else has come to the rescue I'll give it a shot from 20 years old memory. The sequence seems right at first glance, I would therefore look at something external. first thing to check is that you are not using bank D and that interrupts are disabled. Then check that it is indeed 32768 and 81920 which are stored on the stack initially. Sorry if this seems obvious, but without knowing more I'm just guessing here. -Frode -- ^ Frode Tennebø | email: [email protected] | fr...@irc ^ | with Standard.Disclaimer; use Standard.Disclaimer; |
