1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-18 15:06:07 +00:00
6502bench/SourceGen/SGTestData/Expected/20122-char-encoding_acme.S
Andy McFadden 8109396c48 Rework 201XX-char-encoding-X tests
We have a single character-encoding test that is cloned 3x so we can
exercise the different values for the project's default character
set.  It was a 65816 test because it tested 16-bit immediate char
operands, but that's a very small part of it.

The 65816-specific portion is now 20122-char-encoding.  The rest is
now 201{2,3,4}0-char-encoding-X.
2020-10-19 15:01:02 -07:00

19 lines
285 B
ArmAsm

!cpu 65816
* = $1000
!as
!rs
clc
xce
rep #$30
!al
!rl
lda #'B'
lda #'B' | $80
lda #$c2
lda #$42
sep #$30
!as
!rs
rts