SX/B compiler question
Philip Gamblin
Posts: 202
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.
Thanks.
Comments
· 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
·
My apologies for not spending more time in the HELP files.
Post Edited (Philip Gamblin) : 8/18/2006 5:45:06 AM GMT