[stella] Question about DASM

Peter H. Fröhlich phf at cs.jhu.edu
Fri Mar 28 08:40:40 CDT 2008


Hi all,

On Mar 28, 2008, at 4:29 AM, mathys66 at bluewin.ch wrote:

> It's using the wrong argument for the fill value. If you assemble  
> the piece of code below you'll find that the memory
> is filled with 0x17 (=23), which is the alignment value. That's why  
> you're seeing all zeroes inserted when you align to
> a 256 byte boundary - the fill value is in this case 256 & 255 == 0.

Ah, Thomas is fast! :-) When I looked at the code, I thought this  
might be the case, but since I didn't understand the SYMBOL data  
structure yet, I wasn't sure. :-/ Good job! I'll make a note of this  
to fix later.

Cheers,
Peter
--
Peter H. Froehlich <><><><><><> http://www.cs.jhu.edu/~phf/
OpenPGP: ABC2 9BCC 1445 86E9 4D59  F532 A8B2 BFAE 342B E9D9



More information about the Stella mailing list