2019-09-20 22:29:34 +00:00
|
|
|
.cpu "65c02"
|
2018-10-23 23:06:29 +00:00
|
|
|
REALLYLONGLABELNAME = $8888 ;that's a long name
|
|
|
|
|
|
|
|
* = $1000
|
|
|
|
nop
|
2018-10-24 03:29:24 +00:00
|
|
|
X_start lda _start
|
|
|
|
lda X_start1
|
2018-10-23 23:06:29 +00:00
|
|
|
lda pastglob
|
2018-10-24 03:29:24 +00:00
|
|
|
lda _X__nopped
|
|
|
|
_start nop
|
|
|
|
_X__nopped
|
|
|
|
nop
|
|
|
|
X_start1
|
2018-10-23 23:06:29 +00:00
|
|
|
nop
|
|
|
|
pastglob
|
|
|
|
nop
|
|
|
|
lda nlocal
|
|
|
|
nlocal lda #$11
|
|
|
|
reach1G nop
|
|
|
|
lda reach1G+1
|
|
|
|
lda _reach2+2
|
|
|
|
_reach2 nop
|
|
|
|
reach3G nop
|
2018-10-24 03:29:24 +00:00
|
|
|
_X_reach4
|
|
|
|
nop
|
|
|
|
lda _X_reach4-2
|
2018-10-23 23:06:29 +00:00
|
|
|
lda $00
|
|
|
|
beq _L102D
|
2018-10-24 03:29:24 +00:00
|
|
|
jsr _X_reach4
|
|
|
|
jsr X_start
|
2018-10-23 23:06:29 +00:00
|
|
|
_L102D lda #$22
|
|
|
|
lda gtest2
|
|
|
|
gtest1 nop
|
|
|
|
lda gtest3
|
|
|
|
gtest2 nop
|
|
|
|
gtest3 nop
|
|
|
|
lda #$33
|
|
|
|
lda $1041
|
|
|
|
topglob nop
|
|
|
|
lda _L1043
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
_L1043 nop
|
|
|
|
lda #$44
|
2018-10-24 03:29:24 +00:00
|
|
|
globalnm
|
2018-10-23 23:06:29 +00:00
|
|
|
jsr _L104A
|
|
|
|
nop
|
|
|
|
_L104A nop
|
|
|
|
nop
|
|
|
|
nglobal nop
|
|
|
|
globlat jsr nglobal
|
2021-10-18 20:01:06 +00:00
|
|
|
bra NOT
|
2018-10-23 23:06:29 +00:00
|
|
|
|
2021-10-18 20:01:06 +00:00
|
|
|
NOT nop
|
2018-10-23 23:06:29 +00:00
|
|
|
EXCESSIVELY_LONG_LABEL
|
|
|
|
lda REALLYLONGLABELNAME
|
2019-09-20 22:29:34 +00:00
|
|
|
_X_uname
|
|
|
|
nop
|
|
|
|
_X_uname11
|
|
|
|
nop
|
|
|
|
_X_uname1
|
|
|
|
nop
|
|
|
|
_X_uname2
|
|
|
|
nop
|
|
|
|
lda #$00
|
|
|
|
_AND bne _AND ;local
|
2019-11-18 00:05:51 +00:00
|
|
|
JMP1 bne JMP1 ;global
|
|
|
|
jmp1 bne jmp1
|
|
|
|
TSB1 bne TSB1
|
2019-09-20 22:29:34 +00:00
|
|
|
XCE bne XCE
|
2018-10-23 23:06:29 +00:00
|
|
|
rts
|
|
|
|
|