I'm writing a task for the next edition of the eMagazine, and I need to be able to use the maths stack and arithmetic package to do various things. For the life of me I can't remember if (a) this is permitted and (b) how the hell to do it!
If anyone can give me a prod in the right direction, I'd be grateful. I'm looking to convert a string of ASCII digits to an value on the maths stack using CN_DTOF (QDOS) aka CV.DECFP (SMSQ).
Entry:
D7.L = pointer 1 past the end of the (input) buffer (relative A6)
A0.L = pointer to the input buffer (relative A6)
A1.L = Pointer to maths stack (relative A6)
And, is it ok to grab the current maths stack pointer from BV_CHRIX (QDOS) ???? (SMSQ) as I would normally do in a SuperBASIC extension?
I need a drink!

Cheers,
Norm.