Re: A92: Help


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

Re: A92: Help




Joshua Kellogg wrote:
> 
> Can anyone tell me what is wrong with these lines of code?
> 
> -       move.l  a1,64(a6)

This would generate an adress error if a6 is either not an even adress
(the 68000 uses word alignment) or if a6+64d is below $120 (protected
memory).

> 
> -       move.l  (a0),d0

Same thing here, a0 has to be an even adress.

> 
> They cause an address error.  While this line in the same code works.
> 
> -       move.b  #8,84(a6)

This works all the time because bytes are not aligned.

> 
> All addresses are within range. And I've tried everything I know (which
> isn't much) to get it to work.  Could somebody help?  And time is really
> important.  Thanks in advance.
> 
> -Josh Kellogg
> jkellogg@geneva.edu


References: