Files
6502bench/SourceGen/SGTestData/Expected/20312-disregard-operand_cc65.S
T
Andy McFadden cae1fa5173 Disregard operand address, part 2 (of 2)
Added assembler regression tests, for 6502 and 65816.

The "remove formatting" action now clears the flag.  It's a bit of a
stretch to call it "formatting" but this feels right.

Updated the documentation, adding a new section about embedded
instructions to the intro material.
2025-07-30 16:06:21 -07:00

44 lines
752 B
ArmAsm

.setcpu "65816"
.org $012b00
.a8
.i8
clc
xce
sep #$30
jsr L12C00 & $ffff
jsl L22C00
jsl L22C01
jsl L22C02
jsl L22C03
jsl L22C04
jmp L12D00 & $ffff
.res 226,$2b
L12C00: lda #$02
pha
plb
lda $2c07
rts
.byte $ad
.byte $00
.res 246,$2c
L12D00: rts
.org $022c00
L22C00: .byte $af
L22C01: .byte $af
L22C02: .byte $af
L22C03: .byte $af
L22C04: .byte $af
.byte $af
.byte $af
nop
nop
nop
rtl
.res 245,$8c