[Coco] Cycle count in lwasm?

William Astle lost at l-w.ca
Sat Mar 26 13:23:24 EDT 2016

Make sure you have the at least version 4.12 of lwtools. Cycle counting 
wasn't included until then.

On 2016-03-26 10:08, Lee Patterson wrote:
> Does anyone know how to get the cycle count to show in lwasm? The manual http://lwtools.projects.l-w.ca/manual/x800.html says that you use "opt cd" in your source, or pragmas on the command line. I can't seem to make it work. I have tried:
> 	lwasm -9 -b -l -p cd -o poo5.bin poo5.asm
> but get "Unrecognized pragma string: cd". And have tried:
>    1                 org     $3f00
>> 2                 opt     cd
>    3                 ldx     #sprite
>    4                 ldy     #backgnd
>    5                 ldu     #mixbuf
> Thanks,
> Lee

More information about the Coco mailing list