From 21a6e60eed6adb8a04c31a8b5c6f44db2cbb9561 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Mon, 27 Jul 2020 12:20:54 +0200 Subject: [PATCH] Fixed Wrong size of padding for non-byte arrays. Closes #497 --- src/test/ref/array-16bit-init.asm | 2 +- src/test/ref/array-16bit-init.log | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/ref/array-16bit-init.asm b/src/test/ref/array-16bit-init.asm index e7b2bcf79..c310990bb 100644 --- a/src/test/ref/array-16bit-init.asm +++ b/src/test/ref/array-16bit-init.asm @@ -1,4 +1,4 @@ -// Demonstrates Wrong allocation of arrays. +// Demonstrates wrong padding for non-byte arrays. // https://gitlab.com/camelot/kickc/-/issues/497 .pc = $801 "Basic" :BasicUpstart(main) diff --git a/src/test/ref/array-16bit-init.log b/src/test/ref/array-16bit-init.log index de2d87505..74ed685d3 100644 --- a/src/test/ref/array-16bit-init.log +++ b/src/test/ref/array-16bit-init.log @@ -139,7 +139,7 @@ Allocated zp[1]:3 [ main::$3 ] INITIAL ASM Target platform is c64basic / MOS6502X // File Comments -// Demonstrates Wrong allocation of arrays. +// Demonstrates wrong padding for non-byte arrays. // https://gitlab.com/camelot/kickc/-/issues/497 // Upstart .pc = $801 "Basic" @@ -209,7 +209,7 @@ Uplifting [] best 381 combination ASSEMBLER BEFORE OPTIMIZATION // File Comments -// Demonstrates Wrong allocation of arrays. +// Demonstrates wrong padding for non-byte arrays. // https://gitlab.com/camelot/kickc/-/issues/497 // Upstart .pc = $801 "Basic" @@ -285,7 +285,7 @@ FINAL ASSEMBLER Score: 321 // File Comments -// Demonstrates Wrong allocation of arrays. +// Demonstrates wrong padding for non-byte arrays. // https://gitlab.com/camelot/kickc/-/issues/497 // Upstart .pc = $801 "Basic"