1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 23:29:39 +00:00

testcase for ca65 .align

This commit is contained in:
Spiro Trikaliotis 2022-06-20 21:57:22 +02:00
parent 77a6ea3704
commit e9888a0c28
4 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,20 @@
; 2022-06-20 Spiro Trikaliotis
.byte 0
.align 4
.byte 4
.word 12
.word 18
.align 1
.byte 1
.align 8
.byte 8
.align 8
.byte 8
.align 128
.byte 128

Binary file not shown.

View File

@ -0,0 +1 @@
ld65: Warning: /home/spiro/Work/tmp/cc65.spiro.testcases-ca65/cfg/none.cfg:18: Segment 'CODE' isn't aligned properly; the resulting executable might not be functional.

View File

@ -0,0 +1,29 @@
ca65 Vx.xx - Git XXXXXXXXX
Main file : 040-align.s
Current file: 040-align.s
000000r 1 ; 2022-06-20 Spiro Trikaliotis
000000r 1
000000r 1 00 .byte 0
000001r 1
000001r 1 xx xx xx .align 4
000004r 1 04 .byte 4
000005r 1 0C 00 .word 12
000007r 1 12 00 .word 18
000009r 1
000009r 1 .align 1
000009r 1 01 .byte 1
00000Ar 1
00000Ar 1 xx xx xx xx .align 8
00000Er 1 xx xx
000010r 1 08 .byte 8
000011r 1
000011r 1 xx xx xx xx .align 8
000015r 1 xx xx xx
000018r 1 08 .byte 8
000019r 1
000019r 1 xx xx xx xx .align 128
00001Dr 1 xx xx xx xx
000021r 1 xx xx xx xx
000080r 1 80 .byte 128
000080r 1