Re: A89: Re: Various 68K/TI89 things


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

Re: A89: Re: Various 68K/TI89 things







>From: "Niklas Brunlid" <e96nbr@efd.lth.se>
>Reply-To: assembly-89@lists.ticalc.org
>To: <assembly-89@lists.ticalc.org>
>Subject: A89: Re: Various 68K/TI89 things
>Date: Thu, 14 Oct 1999 00:07:23 +0200
>
>
> > Second, why doesn't the 68K like odd addresses?  Do the assemblers
> > basically handle this for you, because I don't see very much use of the
> > EVEN directive.
>
>It's just designed that way (to make it faster, IIRC - it's not exactly a 
>new
>processor). As for EVEN, if you have a section if data that consists of
>words/longwords you'd better put the EVEN directive before it to avoid 
>address
>errors.
>
The real reason is that the MC68000 processor only has 23 address lines in 
order to save money. When it accesses memory it always accessed a word at a 
time, even if you're only accessing bytes. Memory is treated as an array of 
words by the hardware.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


Follow-Ups: