1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-19 06:31:02 +00:00
6502bench/SourceGen/SGTestData/Expected/10022-embedded-instructions_cc65.S

27 lines
476 B
ArmAsm
Raw Normal View History

2018-09-28 17:05:11 +00:00
.setcpu "65816"
; .segment "SEG000"
2018-09-28 17:05:11 +00:00
.org $1000
.a8
.i8
jsr L1006
jmp L1020
2018-09-28 17:05:11 +00:00
L1006: sep #$30
2018-09-28 17:05:11 +00:00
lda $00
beq @L100F
2018-09-28 17:05:11 +00:00
lda #$00
brk
2018-09-28 17:05:11 +00:00
@L100F: sta $012345
lda $00
beq @L101A
lda #$00
.byte $85
@L101A: .byte $8f
eor $23
.byte $01
2018-09-28 17:05:11 +00:00
nop
rts
L1020: .byte $af