scc

simple c99 compiler
git clone git://git.simple-cc.org/scc
Log | Files | Refs | Submodules | README | LICENSE

commit 1d12e3bc0e39a5809b233fcf39ea0bb17e6b8384
parent 65076a3a882385e4b0b1beb944d07286be7a78ad
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 28 Sep 2017 09:40:38 +0100

[as-z80] Generate error in immediate overflow

Diffstat:
Mas/target/z80/proc.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/as/target/z80/proc.c b/as/target/z80/proc.c @@ -72,7 +72,7 @@ match(Op *op, Node **args) if (np->addr != AIMM) return 0; if (toobig(np, arg)) - return 0; + error("overflow in immediate operand"); break; default: abort();