BASIC assembler bug?
Colin (478) 2433 posts |
I compiled my Teletext module, which is written in BASIC assembler, for the first time in 10 years yesterday to fix an unaligned read problem on a beagleboard. But it didn’t compile, it failed with ‘Missing ,’. The relevant line showed
It turns out that it doesn’t like ‘spscreen’ as a variable name I think it reads the ‘sp’ and thinks it is the stack pointer so looks for a comma between ‘sp’ and ‘screen’. I globally replaced ‘spscreen’ with ‘_spscreen’ and everything is ok. Just thought I’d mention it as it obviously compiled 10 years ago. |