Unable to assemble
Sterling
Posts: 51
I get the error message "Unable to assemble due to some errors in the source code." when I attempt to assemble the following code. It highlights the first line.
I typed this right out of the Exploring the SX book. What am I doing wrong here? Maybe it's just too late and the letters all look alike, but I don't see any difference.
Post Edited (Sterling) : 4/21/2006 5:33:10 AM GMT
device sx281,oschs3 device turbo,stackx,optionx IRC_CAL IRC_SLOW reset start_point freq 50000000 ; 50 MHZ org 0 start_point mov !rb,#0 mov !rb,#0 sleep
I typed this right out of the Exploring the SX book. What am I doing wrong here? Maybe it's just too late and the letters all look alike, but I don't see any difference.
Post Edited (Sterling) : 4/21/2006 5:33:10 AM GMT
Comments
It's not an sx281, it's an Sx28. Also, try assembling it again only this time look at the list of errors that pops up at the bottom of the IDE. It tells you the specific word causing the problem where it says, "Bad argument <sx281>".
Thanks, PeterM
Post Edited (PJMonty) : 4/21/2006 5:39:40 AM GMT
Don't I feel silly...
It's cool. I'm guessing that you're new to the SX, so the learning goes step by step.
With any luck, the most important thing you've learned is that error messages (while often cryptic), aren't impossible to figure out. The dialog is there mainly to give you a heads up that there was a problem. The error messages at the bottom are there to (hopefully) spell it out.
The other thing you learned is that the forum here is usually quite useful. Keep posting.
Thanks, PeterM
It was probably SX28L (L instead of 1).
Bean.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"SX-Video·Module"·available from Parallax for only $28.95 http://www.parallax.com/detail.asp?product_id=30012
"SX-Video OSD module"·available·for only·$49.95·www.sxvm.com
Available now! Cheap 4-digit LED display with driver IC·www.hc4led.com
"I reject your reality, and substitute my own." Mythbusters
·