From 884a74c57344bcbd68f58ca2a8ec6a8c2da6dd2e Mon Sep 17 00:00:00 2001 From: Pecusx Date: Tue, 20 Jun 2023 22:02:30 +0200 Subject: [PATCH] Detection of too long a variable area at compile time. --- scorch.asm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scorch.asm b/scorch.asm index a3e6eed..163e649 100644 --- a/scorch.asm +++ b/scorch.asm @@ -755,6 +755,9 @@ EndofBFGDLI rts .endp ;-------------------------------------------------- + .if variablesEnd > (PMGraph + $300) + .ERROR 'Variables too long' + .endif .IF * > MODUL-1 .ECHO * .ERROR 'Code and data too long'