1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-17 05:31:45 +00:00

SEGMENT start of 0 should be valid

This commit is contained in:
bbbradsmith 2020-03-21 17:11:20 -04:00 committed by Oliver Schmidt
parent 2fc24847ac
commit e0cb33d9d4

View File

@ -753,7 +753,7 @@ static void ParseSegments (void)
case CFGTOK_START: case CFGTOK_START:
FlagAttr (&S->Attr, SA_START, "START"); FlagAttr (&S->Attr, SA_START, "START");
S->Addr = CfgCheckedConstExpr (1, 0x1000000); S->Addr = CfgCheckedConstExpr (0, 0x1000000);
S->Flags |= SF_START; S->Flags |= SF_START;
break; break;