Skip to content

Commit

Permalink
Fix string allocation misalignment
Browse files Browse the repository at this point in the history
  • Loading branch information
ekoeppen committed Feb 24, 2014
1 parent f98cfb0 commit d00c921
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions generic/CoreForth.s
Expand Up @@ -551,7 +551,7 @@ fill_done:

defword "S\"", SQUOT, F_IMMED
.word LIT_XT, XSQUOTE, COMMAXT, LIT, '"', WORD
.word FETCHBYTE, INCR, ALIGNED, ALLOT
.word FETCHBYTE, ALLOT, ALIGN
.word GTGTSOURCE, EXIT

defword ".\"", DOTQUOT, F_IMMED
Expand All @@ -560,7 +560,7 @@ fill_done:
defword "SZ\"", SZQUOT, F_IMMED
.word LIT_XT, XSQUOTE, COMMAXT, LIT, '"', WORD
.word LIT, 1, OVER, ADDSTORE, LIT, 0, OVER, DUP, FETCHBYTE, ADD, STOREBYTE
.word FETCHBYTE, INCR, ALIGNED, ALLOT
.word FETCHBYTE, ALLOT, ALIGN
.word GTGTSOURCE, EXIT

defword "PAD", PAD
Expand Down

0 comments on commit d00c921

Please sign in to comment.