[Coco] Cycle count in lwasm?

Bill Nobel b_nobel at hotmail.com
Sat Mar 26 12:12:19 EDT 2016


Add a - in front of the cd to make it -cd.  All options use a - in front of them.

Bill Nobel

> On Mar 26, 2016, at 10:08 AM, Lee Patterson <lee at 8bitcoder.com> 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
> 
> -- 
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco



More information about the Coco mailing list