+Karl G Posted October 26, 2021 Share Posted October 26, 2021 It took me a bit to track down an obscure bug in my code, which turned out to be caused by accidentally having a trailing comma in a line of data. It seems that when DASM encounters a trailing comma for a line of data, it inserts a NUL at the end. Is this intended/expected behavior? Of course, the best workaround is to not have trailing commas in lines of data, but sometimes mistakes happen when converting a large amount of data. My personal preference would be to have it either ignore a trailing comma (maybe with a warning), or have the assembler bail, yelling at me for my mistake. Thoughts? Link to comment Share on other sites More sharing options...
Thomas Jentzsch Posted November 12, 2021 Share Posted November 12, 2021 That might break existing code. So the changes should be optional, controlled by e.g. a pseudo op. 1 Link to comment Share on other sites More sharing options...
Recommended Posts