shithub: scc

Download patch

ref: c02ebef74e491de7e34a681d23bbcde1ee08f5b5
parent: 047b3a3a2360895718ce41eddfdefc9bdb21bcb4
author: Roberto E. Vargas Caballero <k0ga@shike2.com>
date: Thu Dec 28 06:40:39 EST 2017

[as-z80] Add test for indexed instructions

--- a/as/target/x80/ins.c
+++ b/as/target/x80/ins.c
@@ -336,8 +336,9 @@
 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;