CPU constants must always be defined, not only if a target system was given.

This commit is contained in:
Kugel Fuhr
2025-11-01 15:37:57 +01:00
parent 357f64e4e3
commit b4dc41c653

View File

@@ -411,9 +411,6 @@ static void SetSys (const char* Sys)
}
/* Define the symbols for evaluating .cpu */
DefineCpuSymbols ();
/* Initialize the translation tables for the target system */
TgtTranslateInit ();
}
@@ -1254,6 +1251,9 @@ int main (int argc, char* argv [])
SetMemoryModel (MMODEL_NEAR);
}
/* Define the symbols for evaluating .cpu */
DefineCpuSymbols ();
/* Set the default segment sizes according to the memory model */
SetSegmentSizes ();