Re: A89: dumb question


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

Re: A89: dumb question




In a message dated 99-06-19 05:20:18 EDT, you write:

> all instuctions that work with w or l requiers even addresses..
>  
>  but, if you just write one dc.b in your code, the assembler will 
> automagically
>  align it.
>  BUT if you though write like this:
>  
>  foo	dc.b  xx
>  whatev	dc.b  yy
>  bar	dc.b  zz
>  
>  and tried to clr.w whatev, then you would get an address error...
>  
>  //Olle
thanks for clearing things up...
 ...more questions:  how do you know that foo is at an even location to begin 
with?  how do you know that (whatev) would not be an even address and that 
clr.whatev would not work?

does the compiler fix this?


Follow-Ups: