1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-12-11 13:50:13 +00:00
6502bench/SourceGen/SGTestData/Expected/10022-embedded-instructions_merlin32.S
Andy McFadden 17dc908420 Refactor tests 1002x and 1003x
Tests 10022-embedded-instructions and 10032-flags-and-branches were
a mix of 6502 and 65816 code.  The 6502 code has been separated into
its own file, so that the tests can be run on 8-bit-only assemblers.
2020-10-18 20:30:42 -07:00

23 lines
365 B
ArmAsm

org $1000
jsr L1006
jmp L1020
L1006 sep #$30
lda $00
beq :L100F
lda #$00
brk
:L100F stal $012345
lda $00
beq :L101A
lda #$00
dfb $85
:L101A dfb $8f
eor $23
dfb $01
nop
rts
L1020 dfb $af