mirror of
https://github.com/fadden/6502bench.git
synced 2024-12-02 13:51:36 +00:00
8109396c48
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.
174 lines
4.6 KiB
ArmAsm
174 lines
4.6 KiB
ArmAsm
;Projected edited to format non-char operands as chars.
|
|
org $1000
|
|
lda #'A'
|
|
lda #"A"
|
|
lda #$c1
|
|
lda #$41
|
|
ldx #'a'
|
|
ldx #"a"
|
|
ldx #$41
|
|
ldx #$01
|
|
lda #$7f ;inappropriate format should be ignored
|
|
lda #$7f
|
|
lda #$7f
|
|
lda #$7f
|
|
lda #$0d
|
|
jmp L144B
|
|
|
|
dfb 'C'
|
|
dfb "C"
|
|
dfb $c3
|
|
dfb $43
|
|
dw 'd'
|
|
dw "d"
|
|
dw $44
|
|
dw $04
|
|
ddb 'E'
|
|
ddb "E"
|
|
ddb $c5
|
|
ddb $45
|
|
dfb $80
|
|
asc 'low ASCII str'
|
|
asc "high ASCII str"
|
|
dfb $80
|
|
hex d0c5d4d3c3c9c920535452
|
|
dfb $80
|
|
hex 53031205050e20430f040520131412
|
|
dfb $82
|
|
asc 07,'Low ASCII CRLF',0d0a
|
|
dfb $82
|
|
asc 87,"High ASCII CRLF",8d8a
|
|
dfb $82
|
|
hex 93d0c5d4d3c3c9c920574954482096434f4e54524f4c0520434f4445530d
|
|
dfb $83
|
|
asc ' !"#$%&',27,'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX'
|
|
asc 'YZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'
|
|
dfb $83
|
|
asc " !",a2,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX"
|
|
asc "YZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
|
dfb $83
|
|
hex 202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
|
|
hex 40c1c2c3c4c5c6c7c8c9cacbcccdcecfd0d1d2d3d4d5d6d7d8d9da5b
|
|
dfb $5c
|
|
dfb $5d
|
|
dfb $5e
|
|
dfb $5f
|
|
dfb $60
|
|
hex 4142434445464748494a4b4c4d4e4f505152535455565758595a
|
|
dfb $7b
|
|
dfb $7c
|
|
dfb $7d
|
|
dfb $7e
|
|
dfb $83
|
|
hex 202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f
|
|
hex 004142434445464748494a4b4c4d4e4f505152535455565758595a1b
|
|
dfb $1c
|
|
dfb $1d
|
|
dfb $1e
|
|
dfb $1f
|
|
dfb $40
|
|
hex 0102030405060708090a0b0c0d0e0f101112131415161718191a
|
|
dfb $7b
|
|
dfb $7c
|
|
dfb $7d
|
|
dfb $7e
|
|
dfb $84
|
|
hex c9c9c3d3d4c5d02045535245564552
|
|
dfb $84
|
|
hex 4e554c4c205445524d20d0c5d4d3c3c9c900
|
|
dfb $84
|
|
hex d4484953204e554c4c2d5445524d494e4154454420535452494e472049532054
|
|
hex 4f4f204c4f4e4720544f20464954204f4e20412053494e474c45204c494e452c
|
|
hex 20414e442057494c4c2042452053504c49542e00
|
|
dfb $84
|
|
hex 13d0c5d4d3c3c9c92057495448204c454e475448
|
|
dfb $84
|
|
hex 1400d0c5d4d3c3c9c92057495448204c454e47544832
|
|
dfb $84
|
|
hex 504554204443c9
|
|
dfb $84
|
|
hex 05040f43200e05051203532005131205160512
|
|
dfb $84
|
|
hex 0e150c0c2d1405120d2013031205050e20030f04053f00
|
|
dfb $84
|
|
hex 1753031205050e20430f04052017091408200c050e071408
|
|
dfb $84
|
|
hex 180053031205050e20430f04052017091408200c050e07140832
|
|
dfb $84
|
|
hex 53031205050e20430f0405204443c9
|
|
dfb $84
|
|
dfb $85
|
|
dfb $00
|
|
dfb $01
|
|
dfb $02
|
|
dfb $03
|
|
dfb $04
|
|
dfb $05
|
|
dfb $06
|
|
dfb $07
|
|
dfb $08
|
|
dfb $09
|
|
dfb $0a
|
|
dfb $0b
|
|
dfb $0c
|
|
dfb $0d
|
|
dfb $0e
|
|
dfb $0f
|
|
dfb $10
|
|
dfb $11
|
|
dfb $12
|
|
dfb $13
|
|
dfb $14
|
|
dfb $15
|
|
dfb $16
|
|
dfb $17
|
|
dfb $18
|
|
dfb $19
|
|
dfb $1a
|
|
dfb $1b
|
|
dfb $1c
|
|
dfb $1d
|
|
dfb $1e
|
|
dfb $1f
|
|
asc ' !"#$%&',27,'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX'
|
|
asc 'YZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~'
|
|
dfb $7f
|
|
dfb $80
|
|
dfb $81
|
|
dfb $82
|
|
dfb $83
|
|
dfb $84
|
|
dfb $85
|
|
dfb $86
|
|
dfb $87
|
|
dfb $88
|
|
dfb $89
|
|
dfb $8a
|
|
dfb $8b
|
|
dfb $8c
|
|
dfb $8d
|
|
dfb $8e
|
|
dfb $8f
|
|
dfb $90
|
|
dfb $91
|
|
dfb $92
|
|
dfb $93
|
|
dfb $94
|
|
dfb $95
|
|
dfb $96
|
|
dfb $97
|
|
dfb $98
|
|
dfb $99
|
|
dfb $9a
|
|
dfb $9b
|
|
dfb $9c
|
|
dfb $9d
|
|
dfb $9e
|
|
dfb $9f
|
|
asc " !",a2,"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWX"
|
|
asc "YZ[\]^_`abcdefghijklmnopqrstuvwxyz{|}~"
|
|
dfb $ff
|
|
|
|
L144B rts
|
|
|