mirror of
https://github.com/fadden/6502bench.git
synced 2024-09-11 04:57:02 +00:00
Most tests pass, but 2007-labels-and-symbols fails because the expressions recognized by 64tass don't match up with either of the other assemblers. This is currently using a workaround for the local label syntax. 64tass uses '_' as the prefix, which is unfortunate since SourceGen explicitly allowed underscores in labels. (So does 64tass for that matter, but it treats labels specially when the '_' comes first.) We will need to rename any non-local user labels that start with '_'. (issue #16)
34 lines
1014 B
ArmAsm
34 lines
1014 B
ArmAsm
;Project file was edited to get all big-endian data types.
|
|
.cpu "6502"
|
|
* = $1000
|
|
rts
|
|
|
|
.byte $11
|
|
.word $1122
|
|
.long $112233
|
|
.dword $11223344
|
|
.byte $11
|
|
.byte $11,$22
|
|
.byte $11,$22,$33
|
|
.byte $11,$22,$33,$44
|
|
.fill 2,$00
|
|
.byte $80
|
|
.fill 3,$00
|
|
.byte $80
|
|
.fill 4,$00
|
|
.byte $80
|
|
.fill 5,$00
|
|
.byte $80
|
|
.fill 256,$00
|
|
.byte $80
|
|
.fill 257,$cc
|
|
.byte $11
|
|
.byte $80
|
|
.byte $11,$22,$33,$44,$55,$66,$77,$88,$99,$00
|
|
.byte $80
|
|
LABEL .byte $00,$11,$22,$33,$44,$55,$66,$77,$88,$99,$aa,$bb,$cc,$dd,$ee,$ff ;comment
|
|
.byte $00,$11,$22,$33,$44,$55,$66,$77,$88,$99,$aa,$bb,$cc,$dd,$ee,$ff
|
|
.byte $00,$11,$22,$33,$44,$55,$66,$77,$88,$99,$aa,$bb,$cc,$dd,$ee,$ff
|
|
.byte $ff,$ee,$dd,$cc,$bb,$aa,$99,$88,$77,$66,$55,$44,$33,$22,$11,$00
|
|
.byte $80
|