summary refs log tree commit diff
path: root/lisc/emit.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2016-02-28 20:39:41 -0800
committerOri Bernstein <ori@eigenstate.org>2016-02-28 20:39:41 -0800
commit542d89bcd50a0dd43a490180547c88312bf0c7a6 (patch)
tree1cffb5fdb6550df91f160d0043fd003e22220d9e /lisc/emit.c
parent8a9b0c551366d1b16ae6ddbe72c8480d9df0a736 (diff)
downloadroux-542d89bcd50a0dd43a490180547c88312bf0c7a6.tar.gz
Add zero fill data.
Diffstat (limited to 'lisc/emit.c')
-rw-r--r--lisc/emit.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisc/emit.c b/lisc/emit.c
index 4bf2c63..180f468 100644
--- a/lisc/emit.c
+++ b/lisc/emit.c
@@ -549,6 +549,9 @@ emitdat(Dat *d, FILE *f)
 			d->u.str, d->u.str, d->u.str
 		);
 		break;
+	case DZ:
+		fprintf(f, "\t.fill %"PRId64",1,0\n", d->u.num);
+		break;
 	case DB:
 		if (d->isstr) {
 			fprintf(f, "\t.ascii \"%s\"\n", d->u.str);