I made a mistake while testing FPU ops and accidentally found a way to crash Arculator.
Seems like ldfs f#, [r#] with r# containing a bad address causes a crash if your config has an FPU.
Crashes with arm2+fppc under ROS3, generates an exception in RISC OS without the fppc.
Here's the minimal test case
.arch armv2
.fpu fpa
.global main
main:
ldr r0, floatNum
ldfs f0, [r0]
mov pc, lr
floatNum:
.word 0x3f9d70a4
I made a mistake while testing FPU ops and accidentally found a way to crash Arculator. Seems like
ldfs f#, [r#]
with r# containing a bad address causes a crash if your config has an FPU. Crashes with arm2+fppc under ROS3, generates an exception in RISC OS without the fppc.Here's the minimal test case