SX-Key Editor problems
MacGeek117
Posts: 747
I just installed the new SX/B compiler, but when I try to use a interrupt, an error message comes up saying "Unable to assemble due to errors in source code".· I have attached the list file with the highlighted line of code commented. Just uncomment the line, then assemble the code.
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Frankly, I'm scared by the Propeller. Self-modifying code!? Insert one wrong command and "What's it doing?!"
This is going to be a good chip!
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
Post Edited (RoboGeek) : 3/12/2006 3:00:34 AM GMT
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Frankly, I'm scared by the Propeller. Self-modifying code!? Insert one wrong command and "What's it doing?!"
This is going to be a good chip!
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
Post Edited (RoboGeek) : 3/12/2006 3:00:34 AM GMT
Comments
You put the DELAY in the wrong place:· That area should read as follows.· Notice the DELAY SUB is AFTER Interrupt and you have to put a GOTO in there:
'
· INTERRUPT
'
GOTO ISR_START
'
' Subroutine Jump Table
'
DELAY······SUB 1, 2
ISR_Start:
·· ' your interrupt routine in here
ISR_Exit:
RETURNINT 156
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture
San Diego Miramar College
RoboGeek
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Frankly, I'm scared by the Propeller. Self-modifying code!? Insert one wrong command and "What's it doing?!"
This is going to be a good chip!
www.parallax.com
www.goldmine-elec.com
www.expresspcb.com
www.startrek.com
·