Problems with TUT038.SCR in Programming the SX Microcontroller
·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
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
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
Its nice being able to ask the author question and get really fast answers
Thanks again
Charlie