1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2024-12-28 01:29:44 +00:00

Fixed Wrong size of padding for non-byte arrays. Closes #497

This commit is contained in:
jespergravgaard 2020-07-27 12:20:54 +02:00
parent 9227a3a857
commit 21a6e60eed
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
// Demonstrates Wrong allocation of arrays. // Demonstrates wrong padding for non-byte arrays.
// https://gitlab.com/camelot/kickc/-/issues/497 // https://gitlab.com/camelot/kickc/-/issues/497
.pc = $801 "Basic" .pc = $801 "Basic"
:BasicUpstart(main) :BasicUpstart(main)

View File

@ -139,7 +139,7 @@ Allocated zp[1]:3 [ main::$3 ]
INITIAL ASM INITIAL ASM
Target platform is c64basic / MOS6502X Target platform is c64basic / MOS6502X
// File Comments // File Comments
// Demonstrates Wrong allocation of arrays. // Demonstrates wrong padding for non-byte arrays.
// https://gitlab.com/camelot/kickc/-/issues/497 // https://gitlab.com/camelot/kickc/-/issues/497
// Upstart // Upstart
.pc = $801 "Basic" .pc = $801 "Basic"
@ -209,7 +209,7 @@ Uplifting [] best 381 combination
ASSEMBLER BEFORE OPTIMIZATION ASSEMBLER BEFORE OPTIMIZATION
// File Comments // File Comments
// Demonstrates Wrong allocation of arrays. // Demonstrates wrong padding for non-byte arrays.
// https://gitlab.com/camelot/kickc/-/issues/497 // https://gitlab.com/camelot/kickc/-/issues/497
// Upstart // Upstart
.pc = $801 "Basic" .pc = $801 "Basic"
@ -285,7 +285,7 @@ FINAL ASSEMBLER
Score: 321 Score: 321
// File Comments // File Comments
// Demonstrates Wrong allocation of arrays. // Demonstrates wrong padding for non-byte arrays.
// https://gitlab.com/camelot/kickc/-/issues/497 // https://gitlab.com/camelot/kickc/-/issues/497
// Upstart // Upstart
.pc = $801 "Basic" .pc = $801 "Basic"