aboutsummaryrefslogtreecommitdiff
path: root/tests/fallthrough.s
blob: 6e95b5eccbdaecca0987e0bc0d5bc8c5876dd656 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.segment "HEADER"
    .byte 'N', 'E', 'S', $1A
    .byte $02, $01
    .byte $00
    .byte $00

.segment "CODE"

.proc foo
    lda #0
    __fallthrough__ bar
.endproc

__fallthrough__ bar

.proc bar
    lda #0
    __fallthrough__ other
.endproc

.proc other
    rts
.endproc