Re: [Flashforth-devel] Alignment in comma-quote
Brought to you by:
oh2aun
From: Mikael N. <mik...@fl...> - 2022-02-23 05:19:22
|
During the years, there has been various problems with alignment and on the PIC24/33 a non-aligned cell access will cause an exception. ," abcd" 1234 , would cause an exception on the PIC24. So to not break existing code I will keep these alignments as they are. On 2022-02-22 15:02, Ed wrote: > I noticed ," in FF pads out the string to the next aligned address. > That's fine for colon definitions but can waste space in other > situations e.g. > > flash > > create msgs ," abcd" ," efgh" ," ijkl" ," mnop" ," qrst" > > : .msg ( n -- ) msgs swap for c@+ + aligned next c@+ type ; > > The alternative is to remove alignment from ," and include it only > when necessary e.g. in S" . The downside is such a change may break > existing code. > _______________________________________________ > Flashforth-devel mailing list > Fla...@li... > https://lists.sourceforge.net/lists/listinfo/flashforth-devel |