scc

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

commit 75857df04c39b382163f2d069a825484341bf75c
parent 1038e98c8646e3ccd7f7488c9a5dfcc98c38469c
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Thu, 28 Dec 2017 11:40:39 +0000

[as-z80] Add test for indexed instructions

Diffstat:
Mas/target/x80/ins.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/as/target/x80/ins.c b/as/target/x80/ins.c @@ -336,8 +336,9 @@ void alu(Op *op, Node **args) { Node *par = args[1]; - unsigned char buf[4], val; + unsigned char buf[4]; int n = op->size, shift; + unsigned val; if (args[1]) { shift = 0;