Shop OBEX P1 Docs P2 Docs Learn Events
Problems with TUT038.SCR in Programming the SX Microcontroller — Parallax Forums

Problems with TUT038.SCR in Programming the SX Microcontroller

bikejunkybikejunky Posts: 33
edited 2008-02-11 09:30 in General Discussion
·Hello,

I am working my way thru the tutorial section of "Programming the SX Microcontroller.
I get an error with the SX sim on TUT038.scr dealing with tables. The error is "Bad jump or Return Address 0202"

I've downloaded the program from the SX site, to see if it worked properly--it did not

Need some help, on what I am doing wrong

Thanks

Comments

  • Guenther DaubachGuenther Daubach Posts: 1,321
    edited 2008-02-11 09:14
    Hello bikejunky,

    Congratulations - you have found a bug in SXSim, and you are nothing doing wrong. I could reproduce the problem, and I found the reason for it - it is the way SASM formats the code for consecutive retw instructions in the list file (up to four in one line). For example, see line 42 in TUT38.LST.

    I will try to fix that bug in SXSim as soon as possible, and post a new version in the "sticky" SXSim thread.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Greetings from Germany,

    G
  • bikejunkybikejunky Posts: 33
    edited 2008-02-11 09:30
    Cool, Thanks for the help

    Its nice being able to ask the author question and get really fast answers

    Thanks again

    Charlie
Sign In or Register to comment.