Skip to content

MACRO11 bug/feature with comma in .BYTE

Hello. Thanks for you compiler!

I just found today, in the oroginal MACRO there's a bug or maybe we could call it a feature. Like this:

	.BYTE	377,000,200,100,

The comma at the end will produce an extra zero byte in the code. Two commas will produce two extra zeroes.

I checked, your macro11 works the same way, so it repeats the thing.

I don't really know, what should be done about. Maybe you could make a warning in the output or listing. It's easy to forget a comma at the end of a byte sequence somewhere, and spend some time trying to find out what's wrong.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information