Closed neochrome closed 5 years ago
I’d prefer not to support this as leading zeros before decimals in C are the octal number syntax. I don’t plan on supporting these and thought better reject them in syntax.
ahh, cool. Thought I should mention it in case it was unintentional :)
Cool.. My disassembler may actually confusingly generate these.. there is a bug in it that immediate fields like "LDA #01" are missing the $ sign, should be "LDA #$01"
Specifying decimal numbers with a leading zero gives a syntax error:
While binary and hexadecimal allows it. Mininal example: