Hi,
yes that's a bug.

Somehow the return stack gets confused/overwitten (stack overflow!), causing a jump to a strange address where you then will get an illegal instruction error.


I've checcked that, under SMSQmulator this isn't due to the replacemnt FP routines, which it isn't.

Wolfgang


On 26/12/2017 18:31, pjwitte via Ql-Users wrote:
If you want a really miserable Christmas, you could try the following - without saving your work first:

1 x% = 32000
2 y% = x%
3 z% = 1600
4 t  = x% * y% * z%: REMark Kaboooom!!!
5 PRINT "-<GROAN>- Im dead!"

The above crashes SMSQ/E 3.32 on QPC2 and SMSQmulator! Even the four-finger reset wont work. The following is, as youd expect, fine:

1 x% = 32000
2 y% = x%
3 z% = 1600
4 t  = x% * y%
5 t  = t * z%
6 PRINT "Yippi! - Im still alive!"

Per
_______________________________________________
QL-Users Mailing List
_______________________________________________
QL-Users Mailing List

Reply via email to