mirror of
https://github.com/fadden/6502bench.git
synced 2024-08-14 18:28:57 +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.
20 lines
334 B
ArmAsm
20 lines
334 B
ArmAsm
.setcpu "65816"
|
|
; .segment "SEG000"
|
|
.org $1000
|
|
.a8
|
|
.i8
|
|
clc
|
|
xce
|
|
rep #$30
|
|
.a16
|
|
.i16
|
|
lda #'B'
|
|
lda #'B' | $80
|
|
lda #$c2
|
|
lda #$42
|
|
sep #$30
|
|
.a8
|
|
.i8
|
|
rts
|
|
|