[A89] more bcd stuff
[Prev][Index][Thread]
[A89] more bcd stuff
Now that I got my simple bcd program to work, I'm writing a more
complex one: calculate PI with Montecarlo's formula :P
After I call a bcd routine (ie: bcddiv) the result is in a stack
frame pointed to by a6, but what if I want to copy it to another
place? (to use it later and call another bcd routine) this is what
I'm doing right now:
move.w 8(a6),Rand1+8
move.l 4(a6),Rand1+4
move.l (a6),Rand1
...
Rand1:
.space 10,0
I want to make sure this is ok before start looking the bug in the
rest of the code (becouse the program is not working).
tia,
ra.-