1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-01 22:50:35 +00:00
6502bench/SourceGen/SGTestData/Expected/1002-embedded-instructions_cc65.S

79 lines
1.4 KiB
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
clc
xce
sep #$30
jsr L1014
jsr L101C
jsr L102A
jsr L102F
jsr L1059
rts
L1014: lda #$00
.byte $2c
@L1017: lda #$01
beq @L1017
2018-09-28 17:05:11 +00:00
rts
L101C: sep #$30
lda $00
beq @L1025
2018-09-28 17:05:11 +00:00
lda #$00
brk
2018-09-28 17:05:11 +00:00
@L1025: sta $012345
2018-09-28 17:05:11 +00:00
rts
L102A: .byte $20
@L102B: rts
2018-09-28 17:05:11 +00:00
.byte $ea
bra @L102B
2018-09-28 17:05:11 +00:00
L102F: .byte $2c
@L1030: .byte $2c
@L1031: .byte $2c
@L1032: .byte $2c
@L1033: .byte $2c
@L1034: .byte $2c
@L1035: .byte $2c
@L1036: .byte $2c
@L1037: .byte $2c
@L1038: nop
2018-09-28 17:05:11 +00:00
nop
asl A
bcc L102F
asl A
bcc @L1030
2018-09-28 17:05:11 +00:00
asl A
bcc @L1031
2018-09-28 17:05:11 +00:00
asl A
bcc @L1032
2018-09-28 17:05:11 +00:00
asl A
bcc @L1033
2018-09-28 17:05:11 +00:00
asl A
bcc @L1034
2018-09-28 17:05:11 +00:00
asl A
bcc @L1035
2018-09-28 17:05:11 +00:00
asl A
bcc @L1036
2018-09-28 17:05:11 +00:00
asl A
bcc @L1037
2018-09-28 17:05:11 +00:00
asl A
bcc @L1038
2018-09-28 17:05:11 +00:00
rts
L1059: .byte $2c
@L105A: nop
2018-09-28 17:05:11 +00:00
.byte $ad
@L105C: lda $00
2018-09-28 17:05:11 +00:00
asl A
bcc @L105A
2018-09-28 17:05:11 +00:00
asl A
bcc @L105C
2018-09-28 17:05:11 +00:00
.byte $af