Came across this after two evenings of pain. Had a search, but couldn't find any reference to it.
I was simulating a bit of maths, with the results in Words when the simulation stopped.
Run/simulate the following and watch the used hi Word values in the simulator.
Starting the count at $A0 gives enough time to change the simulator view to Word and slide down to the higher variables...
Same on software versions V5.5.1 and V5.5.5
I haven't bothered bottoming it all out - just moved to another block of Words, but frustrated doesn't cover it!
Pete.
I was simulating a bit of maths, with the results in Words when the simulation stopped.
Run/simulate the following and watch the used hi Word values in the simulator.
Code:
#picaxe 28x2
symbol Cnt = W0
symbol Test0 = W24
symbol Test1 = w25
symbol Test2 = w26
symbol Test3 = w27
Cnt = $A0
do while Cnt <> 0
let Test0 = Cnt
let Test1 = Cnt
let Test2 = Cnt
let Test3 = Cnt
if Test0 <> Cnt or Test1 <> Cnt or Test2 <> Cnt or Test3 <> Cnt then exit
inc Cnt
loop
end
Same on software versions V5.5.1 and V5.5.5
I haven't bothered bottoming it all out - just moved to another block of Words, but frustrated doesn't cover it!
Pete.