mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-19 20:29:36 +00:00
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.
25 lines
447 B
ArmAsm
25 lines
447 B
ArmAsm
.cpu "65816"
|
|
.enc "sg_hiascii"
|
|
.cdef $20,$7e,$a0
|
|
.enc "sg_ascii"
|
|
.cdef $20,$7e,$20
|
|
* = $1000
|
|
.as
|
|
.xs
|
|
clc
|
|
xce
|
|
rep #$30
|
|
.al
|
|
.xl
|
|
lda #'B'
|
|
lda #'B' | $80
|
|
.enc "none"
|
|
lda #'B'
|
|
.enc "screen"
|
|
lda #'B'
|
|
sep #$30
|
|
.as
|
|
.xs
|
|
rts
|
|
|