Hello!
Iam currently beginning a project to learn 68k asm and general understanding the 68k cpu.
Ive bought the book "The 68000 processor" by James L. Antonakos. And just to check that i had the toolchain working i typed in the example program in side 39:
Code:
ORG $8000
SUM DC.W 0
DATA DS.B 16
ORG $8100
TOTAL CLR.W D0
MOVE.B #16,D1
MOVEA.L #DATA,A0
LOOP ADD.B (A0)+,D0
SUBI.B #1,D1
BNE LOOP
MOVEA.L #SUM,A1
MOVE.W D0,(A1)
RTS
END TOTAL
It assembles the code without any error or warnings, however in the simulator i get:
Code:
Address Error: Instruction at ffffffff accessing address ffffffff
I just wanted to know what is causing this. Is the book not compatible with the easy68k or is there something else wrong?
Thank you.