Shop OBEX P1 Docs P2 Docs Learn Events
SX/B compiler question — Parallax Forums

SX/B compiler question

Philip GamblinPhilip Gamblin Posts: 202
edited 2006-08-18 04:57 in General Discussion
I have a fair ammount of BS2 experience and am trying to make the move to Move to SX/B. I'm still working on getting familiar with the debugger and complier. When I edit my program, Blink Runs.sxb· the compiler barks thet there is an error JMP @start.· I didn't put it there.·and when I delete it the program will compile and run.·My questions·is this, why does the complier insert the JMP @start comand(?) apparently everytime·I edit the code?
Thanks.

Comments

  • BeanBean Posts: 8,129
    edited 2006-08-17 18:08
    Philip,
    · The "PROGRAM Start" line tells the compiler that the program will begin at the label called "Start:". But you don't have a label called "Start:". That is why you are getting an error.

    · Simply put a label "Start:" before the first instruction. Or in your example change "PROGRAM Start" to "PROGRAM LED".

    Bean.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Cheap 4-digit LED display with driver IC·www.hc4led.com

    Low power SD Data Logger www.sddatalogger.com

    "You're braver than you believe, stronger than you seem, and smarter than you think" Christopher Robin to Pooh
    ·
  • Philip GamblinPhilip Gamblin Posts: 202
    edited 2006-08-18 04:57
    Many thanks. Once I get the synatax straight I have a dozen or so programs to convert over from PBasic. SX/B can potentially reduce my project costs significantly.·Ya know at work we have spent several thousand dollars on a an industrial HMI ( Human Machine Interface ) package, and we have spent weeks trying to beat an answer out of their tech support and you guys respond in a few hours. The quality of your support and products is simply outstanding, as always Parallax ROCKS!
    My apologies for not spending more time in the HELP files.

    Post Edited (Philip Gamblin) : 8/18/2006 5:45:06 AM GMT
Sign In or Register to comment.