Shop OBEX P1 Docs P2 Docs Learn Events
How you debug ASM code ? — Parallax Forums

How you debug ASM code ?

peterzpeterz Posts: 59
edited 2007-01-07 21:45 in Propeller 1
Well I am trying to debug ASM code without much success using a couple of leds.
I understand I cannot call Spin code from an ASM routine, can I ?

Is there any TV or Display·objects that can be called from an ASM code to display data ?

In other words, how do you display debug data from your ASM code ?

·

Comments

  • rokickirokicki Posts: 1,000
    edited 2007-01-07 21:00
    I use the 8 LEDs on the demo board. Works great; I can send out 8 bits of information.
    It also satisfies the "oh shiny" in me.
  • Graham StablerGraham Stabler Posts: 2,510
    edited 2007-01-07 21:40
    You could write some data (sometimes a single long is more than enough) to the hub memory using wrlong, then another cog can read it and display it with the TV or whatever.

    Graham
  • Ym2413aYm2413a Posts: 630
    edited 2007-01-07 21:45
    I also just use the 8 LEDs on the demo board.
    Works great for me.
Sign In or Register to comment.