Oh bother! I was all ready to post this then saw your reply. Meh, I'll post it anyway.
Lostin68k
The problem is you have mixed your code and data together and, as a result, you end up with EASy68K trying to execute the data.
What you need to do is rearrange your code so it looks more like this ..
Code:
ORG $1000
start
* Your main program goes here then either ..
MOVEQ #9,d0 * halt simulator
TRAP #15
* .. or if you want to run continuously ..
BRA start * loop forever
* Now should come any subroutines and data
.. and that will at least execute what you intend instead of trying to execute the data statements.
Lee.
Quote:
This is a common problem I see with my students. You have data in the middle of your program.
It probably doesn't help that the quick start guide programs also do this.
Lee.