Re: A89: address error


[Prev][Next][Index][Thread]

Re: A89: address error




>What causes an "address error"?  These are the two indirect addressing
>instructions I am using: move.w (a1),d1 and or.l d1,(a0), where a0 should
>point to video memory and a1 points to an address within the program.  Or is
>that error caused by trying to put data to an inaccessable area of memory,
>meaning my pointer is somehow messed up?

 An adress error occurs when you try to access a word or a long word at a
non-even adress. So I think the error here is that a1 is a non even adress
or a0 is a non even adress.



Xavier VASSOR
---The Doors Team
E-mail:xvassor@mail.dotcom.fr
Doors Homepage: http://doorshome.home.ml.org (not updated for Doors OS)
ICQ:10241721


References: