[Coco] Cycle count in lwasm?

Lee Patterson lee at 8bitcoder.com
Sat Mar 26 12:08:47 EDT 2016

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


More information about the Coco mailing list