1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-11 13:50:13 +00:00
6502bench/SourceGen/SGTestData/Expected/20070-hinting_cc65.S
Andy McFadden 39b7b20144 ORG rework, part 1
This is the first step toward changing the address region map from a
linear list to a hierarchy.  See issue #107 for the plan.

The AddressMap class has been rewritten to support the new approach.
The rest of the project has been updated to conform to the new API,
but feature-wise is unchanged.  While the map class supports
nested regions with explicit lengths, the rest of the application
still assumes a series of non-overlapping regions with "floating"
lengths.

The Set Address dialog is currently non-functional.

All of the output for cc65 changed because generation of segment
comments has been removed.  Some of the output for ACME changed as
well, because we no longer follow "* = addr" with a redundant
pseudopc statement.  ACME and 65tass have similar approaches to
placing things in memory, and so now have similar implementations.
2021-09-16 17:02:19 -07:00

44 lines
793 B
ArmAsm

.setcpu "6502"
.org $1000
.byte $03
.byte $02
L1002: bit L1002
.byte $2c
lda #$11
nop
.byte $2c
@L100A: ldx #$ff
nop
jsr @L100A
nop
.byte $2c
@L1012: ldx #$ff
nop
jsr @L1012
jsr $2456
@L101B: .dword $22a211a9
jsr @L101B
jsr @L1028
jsr $2456
@L1028: .dword $44a233a9
jsr @L103A
jsr @L103D
nop
lda $2456
jsr @L1045
rts
@L103A: jsr $2456
@L103D: lda #$55
ldx #$66
rts
.byte $81
.byte $82
.byte $83
@L1045: lda #$99
rts