Detection of too long a variable area at compile time.

This commit is contained in:
Pecusx
2023-06-20 22:02:30 +02:00
parent a27d7ad0ae
commit 884a74c573
+3
View File
@@ -755,6 +755,9 @@ EndofBFGDLI
rts rts
.endp .endp
;-------------------------------------------------- ;--------------------------------------------------
.if variablesEnd > (PMGraph + $300)
.ERROR 'Variables too long'
.endif
.IF * > MODUL-1 .IF * > MODUL-1
.ECHO * .ECHO *
.ERROR 'Code and data too long' .ERROR 'Code and data too long'